updated readme for the persistence

This commit is contained in:
Nicco 2019-01-14 19:42:24 +01:00 committed by GitHub
parent e71a95b7a3
commit d06fff5bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,4 +21,12 @@ vim config.json
# Run
docker-compose up -d
```
```
#### (Optional) Persist the DB 💽
Instabot saved the followers etc. in a sqlite db called `follows_db.db`. If you wish to persist the changes between updates you need to uncomment the line inside `docker-compose.yml` and run `touch data.db` before running `docker-compose up -d`
### Credits
The actual code for the bot is from https://github.com/instabot-py/instabot.py