Update README.md

This commit is contained in:
Paillat
2022-11-27 16:49:28 +01:00
committed by GitHub
parent 986ee2e391
commit dae8c01485

View File

@@ -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`