Update 'README.md'
This commit is contained in:
parent
91b5f23df6
commit
4d55149753
15
README.md
15
README.md
@ -1,5 +1,12 @@
|
||||
1. Create the bot account on your instance
|
||||
2. Build and start the bot container
|
||||
1. Modify the following lines in ```bot.sh```
|
||||
```
|
||||
SQL_USER='root'
|
||||
SQL_PASS='sql'
|
||||
SQL_DATABASE='pooper'
|
||||
```
|
||||
|
||||
2. Create the bot account on your instance
|
||||
3. Build and start the bot container
|
||||
```
|
||||
docker build -t blockbot .
|
||||
docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place --add-host postgresql:192.168.0.146 blockbot
|
||||
@ -7,7 +14,7 @@ docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place --add-ho
|
||||
(Change the IP address to your postgres server, do not use 127.0.0.1 or localhost)
|
||||
```
|
||||
|
||||
3. Go inside the container and setup the account auth
|
||||
4. Go inside the container and setup the account auth
|
||||
|
||||
```
|
||||
docker exec -it blockbot bash
|
||||
@ -18,7 +25,7 @@ exit
|
||||
|
||||
```
|
||||
|
||||
4. Testing the setup
|
||||
5. Testing the setup
|
||||
|
||||
```
|
||||
docker exec -it blockbot bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user