blockbot/README.md

26 lines
545 B
Markdown
Raw Normal View History

2022-11-30 16:36:25 -07:00
1. Create the bot account on your instance
2. Build and start the bot container
```
docker build -t blockbot .
2022-11-30 16:39:09 -07:00
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)
2022-11-30 16:36:25 -07:00
```
3. Go inside the container and setup the account auth
```
docker exec -it blockbot bash
toot login (login as your bot account)
exit
```
2022-11-30 16:39:09 -07:00
4. Testing the setup
2022-11-30 16:36:25 -07:00
2022-11-30 16:39:09 -07:00
```
docker exec -it blockbot bash
/opt/bot.sh scalps print
```