Add details about running insight using pm2.
This commit is contained in:
parent
3ecc4fb1fd
commit
01b5a5a5b7
|
@ -185,12 +185,19 @@ If you are using node instead of grunt, it is very similar:
|
||||||
$ NODE_ENV=test node server
|
$ NODE_ENV=test node server
|
||||||
|
|
||||||
|
|
||||||
### Development enviroment
|
### Development environment
|
||||||
To run insight locally for development:
|
To run insight locally for development:
|
||||||
|
|
||||||
$ NODE_ENV=development grunt
|
$ NODE_ENV=development grunt
|
||||||
|
|
||||||
|
|
||||||
|
### Production
|
||||||
|
You can use [pm2](https://github.com/Unitech/pm2) to manage NodeJS in production:
|
||||||
|
|
||||||
|
$ npm install pm2 -g
|
||||||
|
$ pm2 start insight.js
|
||||||
|
|
||||||
|
|
||||||
## Github
|
## Github
|
||||||
[Insight](https://github.com/bitpay/insight)
|
[Insight](https://github.com/bitpay/insight)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue