From 986ee2e39123f75a2c4f9bbbf23b3bff6de92ea1 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 27 Nov 2022 16:46:15 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9cde754..42c5994 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,12 @@ Please note that we can possibly log the messages that are sent for **no more th You can now enable your bot by doing **/enable**. You can always disable the bot by doing **/disable** and delete your api key from our server by doing **/delete**. + +# Docker +You can run this bot with docker. First clone this repository, then run the following command in the /Botator/docker/Build directory. + +`docker build . -t botator:latest --no-cache` + +You cann then run the contaier with this command: + +`docker run -d --name botatordef -v ./botator/:/Botator/database botator:latest` From dae8c0148513ee9432f0a07da767245d3536ece9 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 27 Nov 2022 16:49:28 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 42c5994..ed239bb 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ You can now enable your bot by doing **/enable**. You can always disable the bot by doing **/disable** and delete your api key from our server by doing **/delete**. # Docker -You can run this bot with docker. First clone this repository, then run the following command in the /Botator/docker/Build directory. +You can run this bot with docker. First clone this repository. Now replace the text into the key.txt file that you will find into the ./Botator/docker/Build directory with your **DISCORD** API key. After that,run the following command in the /Botator/docker/Build directory. `docker build . -t botator:latest --no-cache` -You cann then run the contaier with this command: +Now create a directory called `botator` where you want the database files to be stored, and run the following command into that directory to run the container. -`docker run -d --name botatordef -v ./botator/:/Botator/database botator:latest` +`docker run -d --name botatordef -v ./:/Botator/database botator:latest` From f1a1d00b963cc8774b1524ac31e2de8971309c21 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 27 Nov 2022 16:57:10 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed239bb..dc7e5e9 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ You can run this bot with docker. First clone this repository. Now replace the t Now create a directory called `botator` where you want the database files to be stored, and run the following command into that directory to run the container. -`docker run -d --name botatordef -v ./:/Botator/database botator:latest` +`docker run -d --name botatordef -v **your botator folder directory**:/Botator/database botator:latest` From d5d23d55bf671468fd7a2f73a91ac9ab764df3d9 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 27 Nov 2022 16:57:49 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc7e5e9..7d6c9c4 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ You can run this bot with docker. First clone this repository. Now replace the t Now create a directory called `botator` where you want the database files to be stored, and run the following command into that directory to run the container. -`docker run -d --name botatordef -v **your botator folder directory**:/Botator/database botator:latest` +`docker run -d --name botatordef -v `**`your botator folder directory`**`:/Botator/database botator:latest`