diff options
author | neelkamath <neelkamath@protonmail.com> | 2018-05-11 15:54:56 +0200 |
---|---|---|
committer | neelkamath <neelkamath@protonmail.com> | 2018-05-11 15:54:56 +0200 |
commit | bfdfa76368e3f091c2a90cfa9729f2b9959e4e21 (patch) | |
tree | f42e2d39a2b2767a192471767cb8256b46bde67b | |
parent | Add pm2 as a dev dependency (diff) | |
download | hackchat-bfdfa76368e3f091c2a90cfa9729f2b9959e4e21.tar.gz hackchat-bfdfa76368e3f091c2a90cfa9729f2b9959e4e21.zip |
Fix line number and prevent further breakage
-rw-r--r-- | README.md | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -49,27 +49,9 @@ This will install the required packages to run hack.chat. Next the server will n node main.js ``` -The configuration script will execute the initial server setup by requesting input. Follow the steps until it finishes: +The configuration script will execute the initial server setup by requesting input. Follow the steps until it finishes. -``` -Note: npm/yarn run config will re-run this utility. - -You will now be asked for the following: -- Admin Name, the initial admin username -- Admin Pass, the initial admin password -- Port, the port for the websocket -- Salt, the salt for username trip - -prompt: adminName: admin -prompt: adminPass: **** - -prompt: websocketPort: (6060) -prompt: tripSalt: ************ - -Config generated! You may now start the server normally. -``` - -___Note:___ if you change the `websocketPort` option during the config setup then these changes will need to be reflected on line 64 of the [client.js](https://github.com/hack-chat/main/blob/master/client/client.js#L64). +___Note:___ if you change the `websocketPort` option during the config setup then these changes will need to be reflected on [client.js](https://github.com/hack-chat/main/blob/master/client/client.js#L59). After the config script runs, the process will exit & the server will need to be relaunched. For a production environment we recommend using [PM2](https://github.com/Unitech/pm2) to start the server: |