mirror of
https://github.com/TakeusV1/gameserver_discordpy_bot.git
synced 2026-10-13 17:15:34 +02:00
Update README.md
This commit is contained in:
1 parent
54cd4775ca
commit
0348f4601c
1 file changed
+5
-2
@@ -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
|
||||
<br>
|
||||

|
||||
Reference in new issue
Block a user