jhvdjhvjh

 






  • You need to install NodeJS on your server to proceed, for more information about how to install nodejs, please read this documentation
  • Install npm on your server.
  • Once installed, You need to whitelist your nodejs port number, for more infromation, please take a look here
  • Go to Admin Panel -> Settings -> NodeJS Settings
    • Enable NodeJS
    • If you are using SSL, enable NodeJs SSL Connection
    • Enable Live Notification Bar
    • NodeJS HTTP Port - Enter nodejs server's port number.
    • NodeJs HTTPS (SSL) Port - Enter nodejs SSL server's port number (default 449)
    • NodeJs SSL Certificate Key Path - Set the path to your domain SSL key path, .key
    • NodeJs SSL Certificate Path - Set the path to your domain SSL key path, .crt or .pem
  • To run your nodejs application on server boot and always, please take a look here: https://github.com/Unitech/pm2, replace app.js with main.js
  • If you want to run the nodejs application, cd to ./nodejs folder and run node main.js

Comments