update readme docker installation
This commit is contained in:
parent
684057a2c5
commit
154148220e
17
README.md
17
README.md
@ -40,6 +40,23 @@ make
|
|||||||
./PyMenu
|
./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
|
## 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))
|
- 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`
|
- Create a category called `listes-de-course`
|
||||||
|
Loading…
Reference in New Issue
Block a user