update readme docker installation

This commit is contained in:
starnakin 2023-10-10 14:12:45 +00:00
parent 684057a2c5
commit 154148220e

View File

@ -40,6 +40,23 @@ make
./PyMenu
```
## Installation - Docker
- Clone the project:
``` bash
git clone https://git.chauvet.pro/starnakin/PyMenuBOT/
cd PyMenuBOT
```
- Config the bot
Edit the `src/config.h` file and set the discord bot token
- Build the docker image.
``` bash
docker build -t pymenu .
```
- Run the docker
```bash
docker run --restart=always -d pymenu
```
## Setting up on Your Discord Server
- Add the bot to your server (using [the official instance](https://discord.com/oauth2/authorize?client_id=818558187443716137&scope=bot+applications.commands&permissions=10737428544))
- Create a category called `listes-de-course`