sinopia-pm2-starter
v1.2.2
Published
Start sinopia using pm2
Downloads
10
Maintainers
Readme
sinopia-pm2-starter
sinopia starter using pm2
pre install ( If pm2 or sinopia is not installed )
$ npm install -g pm2
$ npm install -g sinopia
install
$ npm install -g sinopia-pm2-starter
usage
$ sinopia-pm2-starter config:host '123.123.123.123'
$ sinopia-pm2-starter config:post '3020'
$ sinopia-pm2-starter start
// in the client side
$ npm config set registry http://123.123.123.123:3020
pm2
It's nice process manager! I hope you use pm2 globally and know pm2 basic command at least. If you have a global pm2, type a following to show process status, logs.
$ pm2 logs sinopia
$ pm2 list