lego/README.md
Alessandre Laguierce 53275f6c11 fix: typo in README
2024-12-04 22:12:00 +01:00

45 lines
870 B
Markdown

# Briques
On aime les briques
## Sujet
* [Projet: Travail et modalités de rendu Fichier](https://moodle.bordeaux-inp.fr/mod/resource/view.php?id=48191)
* [Sujet : Briques Fichier](https://moodle.bordeaux-inp.fr/mod/resource/view.php?id=132493)
## Generating data
```
cd PostgreSQL/
make generate_data
```
## Dev
To run postgresql server + adminer in dev environnement (assuming you're running the backend manually with node), run :
```
cd free-briques/
make
docker compose -f docker-compose.dev.yml up
```
## Production
Use the file `docker-compose.prod.yml` to start the app in production mode, it can be done using the following command :
```
docker compose -f docker-compose.prod.yml up
```
### TOADD
1) be in the docker group by `sudo usermod -aG docker $USER`
2) `export $(grep -v '^#' back-end/.env.production | xargs)` and then `make`.
### EOF