26 lines
545 B
Markdown
26 lines
545 B
Markdown
1. Create the bot account on your instance
|
|
2. 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
|
|
|
|
(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
|
|
|
|
```
|
|
docker exec -it blockbot bash
|
|
|
|
toot login (login as your bot account)
|
|
|
|
exit
|
|
|
|
```
|
|
|
|
4. Testing the setup
|
|
|
|
```
|
|
docker exec -it blockbot bash
|
|
/opt/bot.sh scalps print
|
|
``` |