From 82821581e6e633cd3aa3ff5937da2de8caf7c704 Mon Sep 17 00:00:00 2001 From: Takeus <68923554+TakeusV1@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:56:15 +0200 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 314a1bd..7b2df1a 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,24 @@ # gameserver_discordpy_bot ### Dependencies -`pip3 install discord.py`
-`pip3 install mcstatus sourceserver`
- +- mcstatus +- sourceserver ### Config `token = 'xxxxxxxxxxxxxxx'`
`server_ip = 'xx.xx.xx.xx'`
`server_port = 'xxxxx'`
`mcOs = True`
-### Prod +### Installation +##### Python +```bash +python -m venv discord_bot +source discord_bot/bin/activate +pip install discord.py +pip install mcstatus sourceserver +deactivate +``` +##### Production +You can setup a systemd service or do the following with “pm2” :
+(which lets you manage your instances very easily with access to logs, console...) ```bash ### Setup apt update