Gekko Forum
Pm2 - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Support (https://forum.gekko.wizb.it/forum-19.html)
+--- Thread: Pm2 (/thread-26.html)



Pm2 - ivor - 01-09-2018

Could anyone advise me on how i should set up pm2 to start the pakage.json


RE: Pm2 - rick_rolled - 01-14-2018

(01-09-2018, 04:31 PM)ivor Wrote: Could anyone advise me on how i should set up pm2 to start the pakage.json

From the beginning

  1. Install pm2
    1. sudo npm install pm2@latest -g
  2. Run gekko
    1. pm2 start /path to folder/gekko -- --ui   (the first -- sends the --ui option to gekko.js)
  3. Run pm2 at startup
    1. pm2 startup
    2. Copy/paste given command
  4. Save process in case of restart
    1. pm2 save