further imporved readme

This commit is contained in:
2024-06-10 18:40:45 +00:00
parent 5ce54a8481
commit 92bc5cf4dc
4 changed files with 29 additions and 7 deletions

View File

@@ -1,5 +1,17 @@
# Template of the .env file
```
NEXT_PUBLIC_SOCKET_HOST = 'quentinrsl.com'
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
```