diff --git a/README.md b/README.md index ec763b2..f461308 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ 2. Build and start the bot container ``` docker build -t blockbot . -docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place 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 @@ -16,5 +18,9 @@ exit ``` -4. Modify ```bot.sh ``` and +4. Testing the setup +``` +docker exec -it blockbot bash +/opt/bot.sh scalps print +``` \ No newline at end of file