Contact us Login LIVE DEMO FREE TRIAL

Admin panel

The control panel is a set of static files (html, js, …). To work with control panel any interpreters aren’t required (php or another).

How to install control panel

Copy all files from dist/panel-v2 directory to destination directory that used by Nginx for serving virtual host panel.domain.com:

# cp -a dist/panel-v2/* /var/www/panel.domain.com

At the first installation you are to rename /var/www/nginx/panel.domain.com/PConfig.example.js into panel-v2/PConfig.js and edit it:

 # cp /var/www/nginx/panel.domain.com/PConfig.{example.js,js}
Config = {

    // Profiles of API templates
    apiProfiles: {
        // Java-API settings
        japi: {
            apiRoot: 'http://api.domain.com/panel',
            apiUrlTpl: ['{apiRoot}/{handler}/{action}']
        }
    },

    // External links templates
    links: {
    // A link to 'automated' authorization in UI with transferring a hash through GET.
        monUrlTpl: ['http://{company_url}/pro/demo/?session_key={hash}']
    },
    // An address to connecting to a terminal web socket for devices
    terminalHost: 'ws://api.domain.com:8383/',
    //Default domain name. It is used in definition of available cards and another paas settings.
    paas_domain: '',

};

All you need is to replace url api.domain.com with your own domain.
You shouldn’t edit anything else. Note that paas_domain:” is an empty string (not a space).

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...