JSPM

sinopia-pm2-starter

1.2.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q42324F
  • License MIT

Start sinopia using pm2

Package Exports

  • sinopia-pm2-starter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sinopia-pm2-starter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sinopia-pm2-starter

sinopia starter using pm2

npm version

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