mise à dependence et procedure d'installation

This commit is contained in:
Kepka Ludovic
2025-08-05 16:42:03 +02:00
parent 16fd740fe2
commit e901a3358f
2 changed files with 36 additions and 2 deletions

View File

@@ -55,4 +55,35 @@ En mode supervision
## 📋 Dépendances
- discord.py==2.3.2
- python-dotenv==1.0.0
- python-dotenv==1.0.0
# Installation poste de dev
## installation des dépendences systeme
~~~
sudo apt install python3 python3-pip p
~~~
## creation de l'environnement python locale
Dans le projet
~~~
python3 -m venv .venv
~~~
Puis activer l'environnement :
~~~
source .venv/bin/activate
~~~
## installation des dépendences python
~~~
pip install -r requirements.txt
~~~
## execution
~~~
TOKEN=truc python3 bot.py
~~~

View File

@@ -1,2 +1,5 @@
discord.py==2.3.2
python-dotenv==1.0.0
python-dotenv==1.0.0
# necessaire pour discord.py
aiohttp>=3.7.4,<4
audioop-lts; python_version>='3.13'