Pm2
#1
Could anyone advise me on how i should set up pm2 to start the pakage.json
  Reply
#2
(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
  Reply


Forum Jump:


Users browsing this thread: