Skip to content

Commit 73ec7e0

Browse files
authored
Update README.md
1 parent 3ecb7f8 commit 73ec7e0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This project consists of a client and a server.
66

77
## Development:
88

9-
Make sure Node.JS and MongoDB are installed.
9+
Make sure Node.JS, MongoDB, and redis are installed.
1010

1111
```
1212
git clone https://github.com/coder13/letscube.git
@@ -16,7 +16,16 @@ npm install # installs pre-commit hook
1616

1717
**Server**
1818

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+
```
2029

2130
**Server**
2231

0 commit comments

Comments
 (0)