From 953b4d522d75bf13317b58a8c9b9125cc575cefb Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Fri, 10 Mar 2023 15:35:10 +0100 Subject: [PATCH] added .env instruction to the readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be0bdeb..8a69338 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,11 @@ If you want to contribute you may install the dev dependecies as well : ```pip i You will need to create the .env file from the .env.dist and fill the parameters. Do take note that this website was conceived to run on a mariadb sql database, however this can be easly changed in the data_access.py file. In order to fill the remote database with the data availible in this repo you will need to run the remote.py script : ```python3 truthinquiry/logic/data_persistance/remote.py ``` -To launch the web server just run the command ```flask run```. +To launch the web server you will need to fill the .env file with the database connection and to fill the flask_secret within it then you can use + + ```flask run``` + +to launch the web server To run the tests, run the command ```python3 -m pytest --verbose```.