final update im so tired
This commit is contained in:
16
README.md
16
README.md
@@ -23,13 +23,7 @@ python3 <name of the bot you want to run for group or for DMs>.py
|
|||||||
- press ```ctrl + b + d``` and profit
|
- press ```ctrl + b + d``` and profit
|
||||||
- to go back into the console at any time run ```tmux a```
|
- to go back into the console at any time run ```tmux a```
|
||||||
|
|
||||||
### P.S. Special configuration for the discord bot ```DSbot.py```: -
|
## 2. How to use with Docker Compose (recommended) : -
|
||||||
|
|
||||||
You need these permissions scoped in the Discord developer portal before you add the bot to a server.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## 2. How to use with Docker Compose : -
|
|
||||||
- Download the ```compose.yml``` file from the docker directory
|
- Download the ```compose.yml``` file from the docker directory
|
||||||
- download ```example.env```, change it accordingly and rename it to ```.env```
|
- download ```example.env```, change it accordingly and rename it to ```.env```
|
||||||
- edit the line for container_name and image in the ```compose.yml``` file to use the image you want to run from one of these -
|
- edit the line for container_name and image in the ```compose.yml``` file to use the image you want to run from one of these -
|
||||||
@@ -46,4 +40,10 @@ You need these permissions scoped in the Discord developer portal before you add
|
|||||||
- move / copy the respective Dockerfile to the root of the repo
|
- move / copy the respective Dockerfile to the root of the repo
|
||||||
- run ```docker build . -f Dockerfile-GTbot.py -t your-image-name:tag```
|
- run ```docker build . -f Dockerfile-GTbot.py -t your-image-name:tag```
|
||||||
- go into the docker directory and edit the ```compose.yml``` to use the image you built
|
- go into the docker directory and edit the ```compose.yml``` to use the image you built
|
||||||
- run ```docker compose up -d```
|
- run ```docker compose up -d```
|
||||||
|
|
||||||
|
### P.S. Special configuration for the discord bot ```DSbot.py```: -
|
||||||
|
|
||||||
|
You need these permissions scoped in the Discord developer portal before you add the bot to a server.
|
||||||
|
|
||||||
|

|
||||||
Reference in New Issue
Block a user