Important
Moved to InNoHassle Music Room repository
Did you know that GitHub supports table of contents by default 🤔
This is the Telegram bot for music room service in InNoHassle ecosystem.
- 🎵 Booking Music room
- 📅 Schedule of Music room
- 🔒 Roles and permissions
- Python 3.11 & Poetry
- Aiogram 3 & aiogram-dialog
- Formatting and linting: Ruff, pre-commit
- Deployment: Docker, Docker Compose, GitHub Actions
-
Install Python 3.11+
-
Install Poetry
-
Install project dependencies with Poetry.
poetry install --no-root --with code-style
-
Set up pre-commit hooks:
poetry run pre-commit install --install-hooks -t pre-commit -t commit-msg
-
Set up project settings file (check settings.schema.yaml for more info).
cp settings.example.yaml settings.yaml
Edit
settings.yaml
according to your needs.
Set up PyCharm integrations
- Ruff (plugin).
It will lint and format your code.
Make sure to enable
Use ruff format
option in plugin settings. - Pydantic (plugin). It will fix PyCharm issues with type-hinting.
- Conventional commits (plugin). It will help you to write conventional commits.
- Run the api service.
- Run the bot:
python3 -m src.main