Skip to content
René Meye edited this page Nov 2, 2015 · 2 revisions

run in production environment

pm2 (recommended)

if you want to use pm2 follow this instructions:

install pm2

sudo npm install -g pm2

run gcr with pm2

before running make shure (~/.config/gcr.js) exists. to generate the file run node ./dir/gcr/bin/cmd.js and answer the questions.

pm2 start ./dir/gcr/bin/cmd.js --name gcr  
pm2 save

generate startup script to keep gcr alive after reboot

pm2 startup

monitoring

pm2 monit

pm2 list

pm2 info gcr