Refactor project structure and enhance Docker support

- Removed unnecessary `__init__.py` and `Dockerfile` to streamline project organization.
- Updated `.dockerignore` and `.gitignore` to improve exclusion patterns for build artifacts and environment files.
- Enhanced `Makefile` with new commands for managing Docker containers and added help documentation.
- Introduced `pyproject.toml` for better project metadata management and dependency tracking.
- Updated `requirements.txt` to reflect changes in dependencies for metrics and monitoring.
- Refactored various handler files to improve code organization and maintainability.
This commit is contained in:
2025-08-29 16:49:28 +03:00
parent 8cee629e28
commit c68db87901
37 changed files with 2177 additions and 175 deletions

42
.gitignore vendored
View File

@@ -1,6 +1,7 @@
# Database files
/database/tg-bot-database.db
/database/tg-bot-database.db-shm
/database/tg-bot-database.db-wal
/database/tg-bot-database.db-wm
/database/test.db
/database/test.db-shm
/database/test.db-wal
@@ -10,7 +11,9 @@
/settings.ini
/myenv/
/venv/
/.idea/
/.venv/
# Logs
/logs/*.log
# Testing and coverage files
@@ -32,6 +35,7 @@ test.db
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
@@ -44,9 +48,43 @@ test.db
.Trashes
ehthumbs.db
Thumbs.db
# Documentation files
PERFORMANCE_IMPROVEMENTS.md
# PID files
*.pid
helper_bot.pid
voice_bot.pid
# Docker and build artifacts
*.tar.gz
prometheus-*/
node_modules/
# Environment files
.env
.env.local
.env.*.local
# Temporary files
*.tmp
*.temp
*.log
*.pid
# Python cache
.pytest_cache/
.coverage
htmlcov/
.tox/
.cache/
.mypy_cache/
# Virtual environments
.venv/
venv/
env/
ENV/
env.bak/
venv.bak/