update Readme 3rd party

pull/28/head
HardiReady 2018-02-25 17:30:13 +01:00
parent 9eba31182f
commit 6d202e0192
1 changed files with 2 additions and 8 deletions

View File

@ -21,20 +21,14 @@ In addition, it sets up the mongo deamon to start up automatically with the syst
#### Setup for Production #### Setup for Production
**NOTE:** It his highly recommended not to run the following steps as _root_ user! **NOTE:** It his highly recommended **not** to run the following steps as _root_ user!
Before triggering the environment execution run
npm install
inside the main folder, to process all needed npm package installations for the program execution.
For production setup run the script, described in _Setup for development_, adding the parameter `prod` For production setup run the script, described in _Setup for development_, adding the parameter `prod`
./docs/opt-cc-environment/3rd-party-install.sh prod ./docs/opt-cc-environment/3rd-party-install.sh prod
This adds the [`pm2` process manager](http://pm2.keymetrics.io/) to be installed and start the _opt-cc_ server as `pm2` process. This adds the [`pm2` process manager](http://pm2.keymetrics.io/) to be installed and start the _opt-cc_ server as `pm2` process.
Run the `sudo` command printed as last output to configure the `pm2` process for automatic start on the system, as the current user. Run the `sudo` command printed as last output to configure the `pm2` process for automatic start on the system.
## Development ## Development