Go to file
Audric V 8b7c7c2ea6
Merge pull request #152 from ThomasRubini/client_fix-error-multiple-submissions-answers
[Client] Fix error when submitting multiple times answers
2023-04-03 23:38:10 +02:00
.github/workflows add GAME_GAME_TIMEOUT to CI env 2023-04-02 12:42:52 +02:00
datasets finaly deleted commas in trait text 2023-03-30 19:38:19 +02:00
images added readme content 2023-01-15 13:57:37 +01:00
tests added some tests 2023-03-30 17:01:48 +02:00
truthinquiry [Client] Fix error when submitting multiple times answers 2023-04-03 23:35:48 +02:00
.env.dist Store hosting information in .env 2023-04-03 22:10:23 +02: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 finaly deleted commas in trait text 2023-03-30 19:38:19 +02: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 update README 2023-04-03 22:48:37 +02:00
requirements.txt explicitely mark SQLAlchemy dependency version 2023-04-01 19:12:09 +02:00

build status


A Simple deduction game based on facial reactions

build status


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 bulk_import.py script : python3 bulk_import.py datasets/bulk_data.yml

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