It is a telegram bot that allows you to create accounts, tasks and manage tasks. It is built on the FSM principle.
This project uses pyrogram library, as well as sqlalchemy and alembic libraries to interact with the database.
The principle of operation can be seen in the following diagram.
- Copy the project and change directory:
git clone https://github.com/kalishevgeniy/Telegram-Task-Bot cd Telegram-Task-Bot - Create
.envfile, add the database connection settings and telegram settings - If the required migrations are missing in the database, they must be made:
apt install python3.10 python3.10-venv python3.10 -m venv .venv source .venv/bin/activate pip install -r requirements.txt alembic upgrade head - Create docker image:
docker build . -t telegram_task_bot - Run docker images:
docker run telegram_task_bot
