You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of these instructions is to make the app automatically start on system boot up.
To acheive this we will rely on [PM2]: https://www.npmjs.com/package/pm2
First start the app with pm2start.js file and your password
$ node pm2start --pwd=YOUR_PASSWORD
a quick side note: since pm2 was not installed globally but rather as a node dependency the path executable would be ./node_modules/pm2/bin/pm2
after the app successfully executed (make sure of it by looking at pm2 logs) first stop it by using