File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This project consists of a client and a server.
6
6
7
7
## Development:
8
8
9
- Make sure Node.JS and MongoDB are installed.
9
+ Make sure Node.JS, MongoDB, and redis are installed.
10
10
11
11
```
12
12
git clone https://github.com/coder13/letscube.git
@@ -16,7 +16,16 @@ npm install # installs pre-commit hook
16
16
17
17
** Server**
18
18
19
- ``` cd server && npm install && npm run start ```
19
+ The server is split across 2 files, you can run them individually from the server directory after installing modules
20
+
21
+ ``` bash
22
+ cd server && npm install
23
+ ```
24
+
25
+ ```
26
+ npm run start:server # Starts the file server (not used for dev), auth, and some api requests
27
+ npm run start:socket # Run this in a separate terminal; Starts the socket.io server for all the realtime socket requests
28
+ ```
20
29
21
30
** Server**
22
31
You can’t perform that action at this time.
0 commit comments