Update README

master
Iñaki Baz Castillo 2017-11-02 16:41:30 +01:00
parent 52acf81eff
commit 168da8af76
1 changed files with 2 additions and 6 deletions

View File

@ -21,7 +21,7 @@ $ cd server
$ npm install
```
* Copy `config.example.js` as `config.js`:
* Copy `config.example.js` as `config.js` and customize it for your scenario:
```bash
$ cp config.example.js config.js
@ -73,11 +73,7 @@ $ gulp prod
* Edit your `server/config.js` with appropriate settings (listening IP/port, logging options, **valid** TLS certificate, etc).
* Within your server, run the server side Node.js application. We recommend using the [forever](https://www.npmjs.com/package/forever) NPM daemon launcher, but any other can be used:
```bash
$ forever start PATH_TO_SERVER_FOLDER/server.js
```
* Within your server, run the server side Node.js application. We recommend using the [pm2](https://www.npmjs.com/package/pm2) NPM daemon launcher, but any other can be used.
## Author