aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorneelkamath <neelkamath@protonmail.com>2018-05-11 15:54:56 +0200
committerneelkamath <neelkamath@protonmail.com>2018-05-11 15:54:56 +0200
commitbfdfa76368e3f091c2a90cfa9729f2b9959e4e21 (patch)
treef42e2d39a2b2767a192471767cb8256b46bde67b /README.md
parentAdd pm2 as a dev dependency (diff)
downloadhackchat-bfdfa76368e3f091c2a90cfa9729f2b9959e4e21.tar.gz
hackchat-bfdfa76368e3f091c2a90cfa9729f2b9959e4e21.zip
Fix line number and prevent further breakage
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 2 insertions, 20 deletions
diff --git a/README.md b/README.md
index f1dbefe..a6f92e4 100644
--- a/README.md
+++ b/README.md
@@ -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: