Resoudre les probleme des 2 thread bloquant

This commit is contained in:
Kepka Ludovic
2025-08-09 16:55:21 +02:00
parent c67a70acf8
commit d242639855
11 changed files with 114 additions and 17 deletions

View File

@@ -141,5 +141,35 @@ pip install -r requirements.txt
## Exécution
```bash
TOKEN=votre_token_discord python3 bot.py
python3 run-web.py
```
# Structure du projet
```
.
|-- database : module de connexion à la BDD
| |-- __init.py__
| |-- models.py : contient les pojo représentant chaque table
| |-- schema.sql : contient un scrip sql d'initialisation de la bdd, celui-ci doit être réentrant
|
|-- discordbot : module de connexion à discord
| |-- __init.py__
|
|-- webapp : module du site web d'administration
| |-- static : Ressource fixe directement accessible par le navigateir
| | |-- css
| | |-- ...
| |
| |-- template : Fichier html
| | |-- template.html : structure globale du site
| | |-- commandes.html : page de gestion des commandes
| | |-- ...
| |
| |-- __init.py__
| |-- index.py : controller de la page d'acceuil
| |-- commandes.py : controller de gestion des commandes
| |-- ...
|
|-- run-web.py : launcher
```