{ "version": "2.0.0", "tasks": [ { "label": "compose: up", "type": "shell", "command": "docker compose up -d", "problemMatcher": [] }, { "label": "compose: down", "type": "shell", "command": "docker compose down", "problemMatcher": [] }, { "label": "compose: logs web", "type": "shell", "command": "docker compose logs -f web", "problemMatcher": [] }, { "label": "compose: rebuild web", "type": "shell", "command": "docker compose build web && docker compose up -d web", "problemMatcher": [] }, { "label": "django: makemigrations", "type": "shell", "command": "docker compose exec web python manage.py makemigrations", "problemMatcher": [] }, { "label": "django: migrate", "type": "shell", "command": "docker compose exec web python manage.py migrate", "problemMatcher": [] }, { "label": "django: shell", "type": "shell", "command": "docker compose exec web python manage.py shell", "problemMatcher": [] }, { "label": "django: createsuperuser", "type": "shell", "command": "docker compose exec web python manage.py createsuperuser", "problemMatcher": [] }, { "label": "django: start debugpy", "type": "shell", "command": "docker compose exec web python -m debugpy --listen 0.0.0.0:5678 manage.py runserver 0.0.0.0:8000 --noreload", "problemMatcher": [] }, { "label": "tests: pytest", "type": "shell", "command": "docker compose exec web pytest -v", "group": "test", "problemMatcher": [] }, { "label": "lint: ruff", "type": "shell", "command": "docker compose exec web ruff check .", "problemMatcher": [] } ] }