docker-instabot/README.md

34 lines
775 B
Markdown
Raw Permalink Normal View History

2018-04-11 12:38:14 +02:00
# Intabot Docker
Docker container for runnning [Instabot](https://github.com/instabot-py/instabot.py).
## Quickstart 💥
2018-04-18 14:01:55 +02:00
```bash
2018-04-11 12:38:14 +02:00
docker-compose up -d
```
## Setup 🏗
2018-04-11 12:41:54 +02:00
```bash
git clone https://github.com/CupCakeArmy/docker-instabot
cd docker-instabot
2018-04-11 15:22:05 +02:00
# Copy or Move sample config.
cp config.sample.json config.json
# Insert own login data and tags.
vim config.json
2018-04-11 12:41:54 +02:00
# Run
docker-compose up -d
2019-01-14 19:42:24 +01:00
```
2019-02-16 15:44:18 +01:00
### (Default) Persist the DB 💽
2019-01-14 19:42:24 +01:00
2019-02-16 15:44:18 +01:00
By default the DB is persisted. Instabot saved the followers etc. in a sqlite db called `follows_db.db`. To start with a clean state you need to delete the `data.db` file.
Either run `rm data.db; touch data.db` or `cat /dev/null > data.db`.
2019-01-14 19:42:24 +01:00
2019-02-16 15:44:18 +01:00
### Credits
2019-01-14 19:42:24 +01:00
The actual code for the bot is from https://github.com/instabot-py/instabot.py