Boodskap IoT Platform Developer Web Console
This plugin requires node >= 6.0.0
and npm >= 1.4.15
(latest stable is recommended).
> npm install
module.exports = {
"web": {
"port": 4201,
}
}
> npm start
or
> node bdskp-admin-console-node.js
Open the Browser with this URL: http://0.0.0.0:4201
Step 1] Install the PM2 module in the server. For the initial deployment we need to install that
> sudo npm install pm2 -g
Step 2] Run the Application using PM2 module
> pm2 start bdskp-admin-console-node.js
For Cluster Mode,
> pm2 start bdskp-admin-console-node.js -i max
max means that PM2 will auto detect the number of available CPUs and run as many processes as possible
Step 3] List PM2 process
> pm2 list
Step 3] To stop PM2 process
> pm2 stop <node_name>
(or)
> pm2 stop <PM2_NODE_ID>
PM2_NODE_ID can be found in pm2 list command
> pm2 restart <PM2_NODE_ID>