Update README
parent
52acf81eff
commit
168da8af76
|
|
@ -21,7 +21,7 @@ $ cd server
|
||||||
$ npm install
|
$ npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
* Copy `config.example.js` as `config.js`:
|
* Copy `config.example.js` as `config.js` and customize it for your scenario:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cp config.example.js config.js
|
$ 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).
|
* 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:
|
* 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.
|
||||||
|
|
||||||
```bash
|
|
||||||
$ forever start PATH_TO_SERVER_FOLDER/server.js
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue