Skip to content
Snippets Groups Projects
Commit 7980b5d2 authored by Quentin Bramas's avatar Quentin Bramas
Browse files

readme

parent 066ad324
No related merge requests found
Pipeline #333470 passed with stages
in 4 minutes and 16 seconds
......@@ -97,14 +97,21 @@ avec une indication si les réponses sont correctes ou erronées. Le dernier tab
par étudiant du nombre de bonnes et de mauvaises réponses (qui peut donc être utilisé pour faire une notation).
Uniquement les questions qui possèdent "une bonne réponse" sont prises en compte pour ce dernier tableau.
# Lancer le serveur avec Docker
Vous pouvez lancer le serveur ainsi:
```shell
docker run -p 80:3000 -v /path/to/db:/usr/src/app/storage --env JWT_SECRET=SECRET_KEY --env CLIENT_URL=https://front-end-url --env API_URL=https://back-end-url registry.app.unistra.fr/bramas/live-qcm
```
# Développement
Installer les packages pour le serveur et le client.
```shell
yarn install
cd client
yarn install
```
Compiler le client
......@@ -116,20 +123,19 @@ Compiler le client
Lancer le serveur
```shell
cd ..
yarn start
```
Pour lancer le client en mode développement avec recompilation automatique après modification d'un fichier
```shell
yarn watch
yarn client-watch
```
Pour lancer le serveur en mode développement avec recompilation automatique après modification d'un fichier
```shell
yarn watch
yarn server-watch
```
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment