Update README.md

This commit is contained in:
Takeus authored and GitHub committed 2023-01-26 20:10:34 +01:00
1 parent 54cd4775ca
commit 0348f4601c
1 file changed
+5 -2
+5 -2
View File
@@ -13,14 +13,17 @@ Il faut modifier les lignes suivantes:<br>
### Mise en PROD
On peut utiliser par exemple **PM2**:
```bash
## Installation
### Installation
apt update
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
apt install nodejs -y
npm install pm2@latest -g
## Utilisation
### Utilisation
pm2 start app.py --interpreter python3 # Pour démarrer le BOT
pm2 stop app.py # Pour stopper le BOT
pm2 monit # Pour voir les instances lancées (leurs logs...)
pm2 save # Pour lancer les instances à chaque démarrage du système
```
## Exemple
![1](https://user-images.githubusercontent.com/68923554/214927457-e3a14c35-9b73-4987-9c83-2ef74242cf37.png)<br>
![2](https://user-images.githubusercontent.com/68923554/214927480-1c54e7d3-b734-4e6d-90bb-9f515361576e.png)