Merge pull request #89 from ThomasRubini/README
This commit is contained in:
commit
b10c9589f1
@ -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 ```
|
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```.
|
To run the tests, run the command ```python3 -m pytest --verbose```.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user