diff --git a/README.md b/README.md index 6ecfd92..396264c 100644 --- a/README.md +++ b/README.md @@ -55,4 +55,35 @@ En mode supervision ## 📋 Dépendances - discord.py==2.3.2 -- python-dotenv==1.0.0 \ No newline at end of file +- 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 +~~~ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5e6a52d..587829b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,5 @@ discord.py==2.3.2 -python-dotenv==1.0.0 \ No newline at end of file +python-dotenv==1.0.0 +# necessaire pour discord.py +aiohttp>=3.7.4,<4 +audioop-lts; python_version>='3.13' \ No newline at end of file