From 154148220e4139b4b77d1551d2aad614dae28a93 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 10 Oct 2023 14:12:45 +0000 Subject: [PATCH] update readme docker installation --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index d2aa191..f397d14 100644 --- a/README.md +++ b/README.md @@ -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`