mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
17 lines
419 B
Markdown
17 lines
419 B
Markdown
# Template of the .env file
|
|
```
|
|
NEXT_PUBLIC_SOCKET_HOST = 'traque.rezel.net'
|
|
NEXT_PUBLIC_SOCKET_PORT = 3001
|
|
```
|
|
|
|
Where NEXT_PUBLIC_SOCKET_HOST is the host of the socket server and NEXT_PUBLIC_SOCKET_PORT is the port of the socket server. Those values are set by the HOST and PORT env variables in the backend.
|
|
|
|
# Run dev version
|
|
First install the dependencies
|
|
```
|
|
npm install
|
|
```
|
|
Then run the server
|
|
```
|
|
npm run dev
|
|
``` |