Telegram bot for managing workout routines, tracking exercise progress, and sending reminders. Supports creating custom workout plans, adding exercises with durations and breaks, and tracking completion of sport activities.
- To ensure your application has access to the API endpoints, you need to run the backend server locally using this repository: ExerciseManager-Backend. Follow the setup and run instructions provided in the repository.
- All Docker volumes are stored in the
docker/local/volumes/directory. If you need to reset your database or any other data, simply delete the corresponding folder.
- Download dependencies:
pip install -r requirements.txt - Create an
.envfile or rename.env.distto.envand fill it with development environment variables.- For the
WEBHOOK_HOSTvariable, you can use a ngrok HTTP tunnel by running:ngrok http 8000 - For the
API_BASE_URLvariable, use the base URL of your locally installed server, for example:http://127.0.0.1:8080/api/v1/
- For the
- Start Docker services:
make up_local_services - Compile localization files:
make compile_locales- If the locales directory has changed, you can specify it explicitly:
make compile_locales LOCALES_DIR=new/location/
- If the locales directory has changed, you can specify it explicitly:
- Run the application:
python main.py