Improved documentation

This commit is contained in:
Sebastien Riviere
2025-09-24 13:04:10 +02:00
parent a2c4b5c540
commit 5f50e0c797
34 changed files with 3864 additions and 200 deletions

View File

@@ -9,7 +9,7 @@ const nextConfig = {
{
source: '/',
destination: '/admin',
permanent: true, // The browser will save the redirect in its cache, empty the cache to change the redirect
permanent: false, // The browser will not save the redirect in its cache
},
]
},

View File

@@ -1,17 +0,0 @@
# 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
```