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

@ -22,3 +22,11 @@ vim config.json
# Run # Run
docker-compose up -d 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