aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md8
-rw-r--r--server/src/commands/admin/addmod.js (renamed from server/commands/admin/addmod.js)0
-rw-r--r--server/src/commands/admin/listusers.js (renamed from server/commands/admin/listusers.js)0
-rw-r--r--server/src/commands/admin/reload.js (renamed from server/commands/admin/reload.js)0
-rw-r--r--server/src/commands/admin/saveconfig.js (renamed from server/commands/admin/saveconfig.js)0
-rw-r--r--server/src/commands/admin/shout.js (renamed from server/commands/admin/shout.js)0
-rw-r--r--server/src/commands/core/changenick.js (renamed from server/commands/core/changenick.js)0
-rw-r--r--server/src/commands/core/chat.js (renamed from server/commands/core/chat.js)0
-rw-r--r--server/src/commands/core/disconnect.js (renamed from server/commands/core/disconnect.js)0
-rw-r--r--server/src/commands/core/help.js (renamed from server/commands/core/help.js)0
-rw-r--r--server/src/commands/core/invite.js (renamed from server/commands/core/invite.js)0
-rw-r--r--server/src/commands/core/join.js (renamed from server/commands/core/join.js)0
-rw-r--r--server/src/commands/core/morestats.js (renamed from server/commands/core/morestats.js)0
-rw-r--r--server/src/commands/core/move.js (renamed from server/commands/core/move.js)0
-rw-r--r--server/src/commands/core/stats.js (renamed from server/commands/core/stats.js)0
-rw-r--r--server/src/commands/mod/ban.js (renamed from server/commands/mod/ban.js)0
-rw-r--r--server/src/commands/mod/kick.js (renamed from server/commands/mod/kick.js)0
-rw-r--r--server/src/commands/mod/unban.js (renamed from server/commands/mod/unban.js)0
-rw-r--r--server/src/core/rateLimiter.js (renamed from server/core/rateLimiter.js)0
-rw-r--r--server/src/core/server.js (renamed from server/core/server.js)0
-rw-r--r--server/src/managers/commands.js (renamed from server/managers/commands.js)0
-rw-r--r--server/src/managers/config.js (renamed from server/managers/config.js)0
-rw-r--r--server/src/managers/imports-manager.js (renamed from server/managers/imports-manager.js)0
-rw-r--r--server/src/managers/index.js (renamed from server/managers/index.js)0
-rw-r--r--server/src/managers/stats.js (renamed from server/managers/stats.js)0
-rw-r--r--server/src/scripts/configure.js (renamed from server/scripts/configure.js)0
-rw-r--r--server/src/scripts/debug.js (renamed from server/scripts/debug.js)0
-rw-r--r--server/src/scripts/dev.js (renamed from server/scripts/dev.js)0
28 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 24ab0cc..9ecadc1 100644
--- a/README.md
+++ b/README.md
@@ -15,17 +15,19 @@ This is a backwards compatible continuation of the [work by Andrew Belt](https:/
## Installing
1. [Clone](https://help.github.com/articles/cloning-a-repository/) the repository: `git clone https://github.com/hack-chat/main.git`
+1. Change the directory: `cd main`
1. Install the dependencies using a package manager of your choice:
- npm: `npm install`
- yarn: `yarn install`
-1. Configure: `node main/server/main.js`
+1. Configure: `node server/main.js`
If you change the `websocketPort` option during the config setup then these changes will need to be reflected on [line 59 of client.js](https://github.com/hack-chat/main/blob/master/client/client.js#L59).
# Usage
-1. Start the server with a process manager. For example, with [PM2](https://github.com/Unitech/pm2): `pm2 start main/server/main.js --name HackChat`
-1. Launch: `main/client/index.html`
+1. `cd` into the repository: `cd main`
+1. Start the server with a process manager. For example, with [PM2](https://github.com/Unitech/pm2): `pm2 start server/main.js --name HackChat`
+1. Launch: `client/index.html`
1. (OPTIONAL) If you want to deploy your hack.chat instance to a server, push everything except the `node_modules` directory and install the dependencies using a package manager of your choice:
- npm: `npm install`
- yarn: `yarn install`
diff --git a/server/commands/admin/addmod.js b/server/src/commands/admin/addmod.js
index 4c13b22..4c13b22 100644
--- a/server/commands/admin/addmod.js
+++ b/server/src/commands/admin/addmod.js
diff --git a/server/commands/admin/listusers.js b/server/src/commands/admin/listusers.js
index a539a3c..a539a3c 100644
--- a/server/commands/admin/listusers.js
+++ b/server/src/commands/admin/listusers.js
diff --git a/server/commands/admin/reload.js b/server/src/commands/admin/reload.js
index e2cfbe6..e2cfbe6 100644
--- a/server/commands/admin/reload.js
+++ b/server/src/commands/admin/reload.js
diff --git a/server/commands/admin/saveconfig.js b/server/src/commands/admin/saveconfig.js
index ed3a312..ed3a312 100644
--- a/server/commands/admin/saveconfig.js
+++ b/server/src/commands/admin/saveconfig.js
diff --git a/server/commands/admin/shout.js b/server/src/commands/admin/shout.js
index 1358dd9..1358dd9 100644
--- a/server/commands/admin/shout.js
+++ b/server/src/commands/admin/shout.js
diff --git a/server/commands/core/changenick.js b/server/src/commands/core/changenick.js
index 4041bb0..4041bb0 100644
--- a/server/commands/core/changenick.js
+++ b/server/src/commands/core/changenick.js
diff --git a/server/commands/core/chat.js b/server/src/commands/core/chat.js
index bce6adb..bce6adb 100644
--- a/server/commands/core/chat.js
+++ b/server/src/commands/core/chat.js
diff --git a/server/commands/core/disconnect.js b/server/src/commands/core/disconnect.js
index 9b54214..9b54214 100644
--- a/server/commands/core/disconnect.js
+++ b/server/src/commands/core/disconnect.js
diff --git a/server/commands/core/help.js b/server/src/commands/core/help.js
index 7f63d3d..7f63d3d 100644
--- a/server/commands/core/help.js
+++ b/server/src/commands/core/help.js
diff --git a/server/commands/core/invite.js b/server/src/commands/core/invite.js
index bcf9097..bcf9097 100644
--- a/server/commands/core/invite.js
+++ b/server/src/commands/core/invite.js
diff --git a/server/commands/core/join.js b/server/src/commands/core/join.js
index f2b2c9d..f2b2c9d 100644
--- a/server/commands/core/join.js
+++ b/server/src/commands/core/join.js
diff --git a/server/commands/core/morestats.js b/server/src/commands/core/morestats.js
index 5510cb1..5510cb1 100644
--- a/server/commands/core/morestats.js
+++ b/server/src/commands/core/morestats.js
diff --git a/server/commands/core/move.js b/server/src/commands/core/move.js
index c5efafd..c5efafd 100644
--- a/server/commands/core/move.js
+++ b/server/src/commands/core/move.js
diff --git a/server/commands/core/stats.js b/server/src/commands/core/stats.js
index b9dc002..b9dc002 100644
--- a/server/commands/core/stats.js
+++ b/server/src/commands/core/stats.js
diff --git a/server/commands/mod/ban.js b/server/src/commands/mod/ban.js
index e19efc2..e19efc2 100644
--- a/server/commands/mod/ban.js
+++ b/server/src/commands/mod/ban.js
diff --git a/server/commands/mod/kick.js b/server/src/commands/mod/kick.js
index 157592d..157592d 100644
--- a/server/commands/mod/kick.js
+++ b/server/src/commands/mod/kick.js
diff --git a/server/commands/mod/unban.js b/server/src/commands/mod/unban.js
index e82f0b9..e82f0b9 100644
--- a/server/commands/mod/unban.js
+++ b/server/src/commands/mod/unban.js
diff --git a/server/core/rateLimiter.js b/server/src/core/rateLimiter.js
index 0c2a384..0c2a384 100644
--- a/server/core/rateLimiter.js
+++ b/server/src/core/rateLimiter.js
diff --git a/server/core/server.js b/server/src/core/server.js
index 855aeba..855aeba 100644
--- a/server/core/server.js
+++ b/server/src/core/server.js
diff --git a/server/managers/commands.js b/server/src/managers/commands.js
index c38fb4d..c38fb4d 100644
--- a/server/managers/commands.js
+++ b/server/src/managers/commands.js
diff --git a/server/managers/config.js b/server/src/managers/config.js
index 2865d00..2865d00 100644
--- a/server/managers/config.js
+++ b/server/src/managers/config.js
diff --git a/server/managers/imports-manager.js b/server/src/managers/imports-manager.js
index d8b2144..d8b2144 100644
--- a/server/managers/imports-manager.js
+++ b/server/src/managers/imports-manager.js
diff --git a/server/managers/index.js b/server/src/managers/index.js
index 2fac8fb..2fac8fb 100644
--- a/server/managers/index.js
+++ b/server/src/managers/index.js
diff --git a/server/managers/stats.js b/server/src/managers/stats.js
index 20f1ae3..20f1ae3 100644
--- a/server/managers/stats.js
+++ b/server/src/managers/stats.js
diff --git a/server/scripts/configure.js b/server/src/scripts/configure.js
index 0ecd858..0ecd858 100644
--- a/server/scripts/configure.js
+++ b/server/src/scripts/configure.js
diff --git a/server/scripts/debug.js b/server/src/scripts/debug.js
index 3a97d9f..3a97d9f 100644
--- a/server/scripts/debug.js
+++ b/server/src/scripts/debug.js
diff --git a/server/scripts/dev.js b/server/src/scripts/dev.js
index 5049b84..5049b84 100644
--- a/server/scripts/dev.js
+++ b/server/src/scripts/dev.js