Skip to content

TurtleOld/task_manager

Repository files navigation

Maintainability Test Coverage

Task manager

О программе

Task manager - простой сервис по управлению задачами. Он позволяет ставить задачи, назначать исполнителей и менять статусы.

🚀 Новые возможности с TaskIQ

  • Асинхронная обработка задач - отправка уведомлений в Telegram
  • Периодические задачи - автоматические напоминания и отчеты
  • Мониторинг в реальном времени - отслеживание статуса задач через TaskIQ Dashboard
  • Масштабируемость - возможность горизонтального масштабирования воркеров
  • Современный подход - использование современных async/await паттернов

Установка

Клонирование проекта

git clone https://github.com/TurtleOld/task_manager.git
cd task_manager
make .env

Заполнение .env файла.

# It must contain a URL string with the information needed to connect to the database. 
# This URL contains information such as the database type 
# (for example, PostgreSQL, MySQL), host, port, database name, and authentication credentials.
# Example: postgres://postgres:postgres@localhost:5432/task-manager
DATABASE_URL=
# Who will be allowed to access your site. 
# It simply means on which address your site will be accessible. 
# For example www.google.com is the address of google site. 
# That does not mean who will be allowed to access the site (Is already public).
ALLOWED_HOSTS=127.0.0.1
# To generate a strong secret key, you can use the built-in Django utility: 
# run the python -c "import secrets; print(secrets.token_urlsafe(50))"
SECRET_KEY=
# Optional: The port under which the web application will be launched
# Default: 8000
PORT=
# Is a security setting that helps protect your web application from a specific type of attack called Cross-Site Request Forgery (CSRF). A CSRF attack attempts to trick a user's browser into performing unintended actions on a website where they're already authenticated (logged in).
# Example https://example.com
CSRF_TRUSTED_ORIGINS=
# Optional: You must never enable debug in production. true 1 yes. Default: false
DEBUG=
# Optional: specify where to send alerts if you are connecting a bot
CHAT_ID=
# Optional: specify the telegram token of the bot if you are connecting the bot
TOKEN_TELEGRAM_BOT=

Запуск проекта

Быстрый запуск с TaskIQ

# Запуск всех сервисов (включая TaskIQ, RabbitMQ, Redis)
make docker-up

# Проверка статуса
make health-check

# Мониторинг
make monitor

Классический запуск

make start

📊 Мониторинг TaskIQ

🧪 Тестирование TaskIQ

# Тест всех задач
make test-taskiq

# Подробная документация
# См. QUICKSTART.md и TASKIQ_SETUP.md

Помощь проекту

Инструкция по установке и запуску приложения


Локализация текста

Установить gettext.

  1. Выполнить make transprepare — подготовка файлов *.po в директории locale/en/LC_MESSAGES.
  2. Внести изменения в эти файлы.
  3. Выполнить make transcompile.

About

A simple self-hosted task manager written in Django

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5