feat[SQL]: edit the README to explain the generating process.

This commit is contained in:
damien DELPY 2024-11-23 22:38:38 +01:00
parent f6a2aa8320
commit c4b4c0f8a6
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
dev-db/ dev-db/
database/ database/
**/.env **/.env
PostgreSQL/build/*

View File

@ -7,6 +7,14 @@ On aime les briques
* [Projet: Travail et modalités de rendu Fichier](https://moodle.bordeaux-inp.fr/mod/resource/view.php?id=48191) * [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) * [Sujet : Briques Fichier](https://moodle.bordeaux-inp.fr/mod/resource/view.php?id=132493)
## Generating data
To use the script `generate_data.py`, do :
1) `cd PostgreSQL/`
2) `rm -fr build/*` (don't remove the directory, just the files in it.)
3) `python generate_data.py`
## Dev ## Dev
To run postgresql server + adminer in dev environnement (assuming you're running the backend manually with node), run : To run postgresql server + adminer in dev environnement (assuming you're running the backend manually with node), run :