General description
This bot uses telebot for reagents accounting. The main DB is SQLite3 and bot uses redis for user state storage.
To setup this bot:
- git clone https://github.com/IMikhaylov2710/reaMIPT
- cd reaMIPT
- you could run pip install requirements.txt or python _install.py, _install.py uses conda
- run _setupDB.py, which will setup database and populate it with test data
- cd redis and run docker build -t redis .
- cd redis and run docker run -d --name redis -p 6379:6379
- after redis is set up on port 6379 cd ../ && run entrypoint.py -API $YOUR_API_KEY
Note: if you intend to copy this bot - make sure that your telegram bot has /start, /statistics, /admin and /add menu tabs
Bot usage
Bot is pretty self-explandatory, navigation is through buttons with hashed callbacks and so on.