mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 23:10:36 +01:00
mise à dependence et procedure d'installation
This commit is contained in:
33
README.md
33
README.md
@@ -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
|
||||
~~~
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user