- Style all button and inputs on admin pages with Roboto Mono font (and sans-serif as a fallback) with 1em font size; - Remove unneeded transition effect property declaration on text hover, as the regular declaration is applied when switching from hover state to regular state. - Add NPC dedicated stylesheet in which specific NPC style has been added; - Use an icon where the picture of a NPC is not available (like when adding a new one) and provide the NPC picture as the picture instead of the edition page itself; - Move NPC's JavaScript in a dedicated file, improve its code and fix its access to DOM elements. |
||
|---|---|---|
| .github/workflows | ||
| datasets | ||
| images | ||
| tests | ||
| truthinquiry | ||
| .env.dist | ||
| .gitignore | ||
| api_doc.yml | ||
| app.py | ||
| bulk_export.py | ||
| bulk_import.py | ||
| dev-requirements.txt | ||
| LICENCE | ||
| README.md | ||
| requirements.txt | ||
A Simple deduction game based on facial reactions
Screenshots
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.



