From c4b4c0f8a60dd81a638181f95e621ee103dd09c3 Mon Sep 17 00:00:00 2001 From: damien DELPY Date: Sat, 23 Nov 2024 22:38:38 +0100 Subject: [PATCH] feat[SQL]: edit the README to explain the generating process. --- .gitignore | 3 ++- README.md | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b630057..356b16b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ dev-db/ database/ -**/.env \ No newline at end of file +**/.env +PostgreSQL/build/* diff --git a/README.md b/README.md index c07f236..8f98387 100644 --- a/README.md +++ b/README.md @@ -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) * [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 To run postgresql server + adminer in dev environnement (assuming you're running the backend manually with node), run :