File tree Expand file tree Collapse file tree 4 files changed +33
-2
lines changed
Expand file tree Collapse file tree 4 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ PORT = 4444
Original file line number Diff line number Diff line change 1- node_modules
1+ node_modules
2+ .env
Original file line number Diff line number Diff line change 1+ This is a signalling server that is used to establish WebRTC connections between users. It is built using Node.js and Socket.IO.
2+
3+ ## Getting Started
4+
5+ First, install the dependencies:
6+
7+ ``` bash
8+ npm install -g pnpm
9+
10+ pnpm install --frozen-lockfile
11+
12+ # if pnpm install --frozen-lockfile fails, try running
13+ pnpm install
14+ ```
15+
16+ Then, follow the ` .env.example ` file and create a ` .env ` file in the current directory. Replace the necessary values within.
17+
18+ ``` bash
19+ PORT=4444
20+ ```
21+
22+ First, run the development server:
23+
24+ ``` bash
25+ pnpm dev
26+ ```
27+
28+ ## Build Dockerfile (TODO)
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " server.js" ,
66 "scripts" : {
7- "test" : " echo \" Error: no test specified\" && exit 1"
7+ "test" : " echo \" Error: no test specified\" && exit 1" ,
8+ "dev" : " node server.js"
89 },
910 "type" : " module" ,
1011 "keywords" : [],
You can’t perform that action at this time.
0 commit comments