Go to file
AudricV e83591c9ef
[Client] Add button to go back to the home page on game results view
This button has been placed at the top right of the page.

Also merge some common properties into a single one.
2023-03-20 13:43:46 +01:00
.github/workflows Use github actions secret for to pass variables for tests 2023-01-13 12:01:54 +01:00
datasets move reaction files 2023-03-19 11:12:04 +01:00
images added readme content 2023-01-15 13:57:37 +01:00
tests refactor tests 2023-02-11 22:43:14 +01:00
truthinquiry [Client] Add button to go back to the home page on game results view 2023-03-20 13:43:46 +01:00
.env.dist Put authorized origin in env 2023-01-15 12:46:25 +01:00
.gitignore use dotenv to connect to the db 2023-01-13 11:56:38 +01:00
api_doc.yml Translate API docs in english 2023-02-16 11:57:52 +01:00
app.py refactor app to follow python and flask best practices 2023-02-11 22:43:11 +01:00
bulk_export.py adapted code to new models 2023-03-14 19:11:07 +01:00
bulk_import.py change reaction import system to read from a directory + add default npc image 2023-03-19 11:11:52 +01:00
dev-requirements.txt add dev-requirements.txt 2022-12-12 15:39:32 +01:00
LICENCE put everyone in the licence 2023-01-15 17:23:06 +01:00
README.md added .env instruction to the readme 2023-03-10 15:35:10 +01:00
requirements.txt replace sqlalchemy with flask_sqlalchemyin requirements.txt 2023-02-03 14:29:54 +01:00

build status


A Simple deduction game based on facial reactions

build status

Screenshots

title interrogation debrief


How to run

In ordre to run the server you will need python3 and python3-pip.

Then to install the depedencies run pip install -r requirement.txt.

If you want to contribute you may install the dev dependecies as well : pip install -r dev-requirement.txt

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 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.

Contributors

CAZALS Matthias

RUBINI Thomas

SIMAILA Djalim

V Audric

SujetDelta