Go to file
AudricV dbfc277afb
[Client] Remove elements to clone in JavaScript in the game page
The elements to clone are now embedded in the corresponding JavaScript file, so
there is no need for them to be kept in the HTML page.

Also remove on the culprit img element the src attribute to avoid network
requests on an unexisting file and the alt attribute, as they are appended
dynamically with JavaScript.
2023-03-10 10:30:13 +01:00
.github/workflows Use github actions secret for to pass variables for tests 2023-01-13 12:01:54 +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] Remove elements to clone in JavaScript in the game page 2023-03-10 10:30:13 +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
dev-requirements.txt add dev-requirements.txt 2022-12-12 15:39:32 +01:00
import.py add example import script 2023-03-09 14:40:44 +01:00
LICENCE put everyone in the licence 2023-01-15 17:23:06 +01:00
README.md Update contributors in README 2023-01-17 14:42:02 +01:00
requirements.txt replace sqlalchemy with flask_sqlalchemyin requirements.txt 2023-02-03 14:29:54 +01:00
truthInquiry.sql added datadump 2023-02-16 09:37:22 +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 just run the command flask run.

To run the tests, run the command python3 -m pytest --verbose.

Contributors

CAZALS Matthias

RUBINI Thomas

SIMAILA Djalim

V Audric

SujetDelta