Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 929 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 929 Bytes

New instagram post notifier

This project send message to telegram then subscribed by user blogger post new photo.

How to install

1. Uninstall library with name "telegram" if you are not using venv, or you have this library. 2. Run "pip install -r requirements.txt" in console. 3. Copy config.example.cfg file and delete "example" from its name. 4. In config.cfg write data as indicated there. 5. Run "python migration.py" in cmd.

If you use Docker

1. Copy config.example.cfg file and delete "example" from its name. 2. Copy .env.example file and delete "example" from its name. 3. In config.cfg and .env write data as indicated there. 4. Copy db data into ./database/mysql if you have it else skip this step. 5. Run `docker-compose up -d`. 6. *Do it if you skip 3 step* 1. Run `docker-compose exec notifier-app bash` or `docker exec -it notifier-app /bin/bash`. 2. Run `python migration.py`.