This commit is contained in:
21
Makefile
21
Makefile
@@ -19,10 +19,10 @@ help:
|
||||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||||
|
||||
run:
|
||||
@poetry run python manage.py runserver 0.0.0.0:7788
|
||||
@uv run python manage.py runserver 0.0.0.0:7788
|
||||
|
||||
celery:
|
||||
@poetry run celery -A app worker -l INFO --concurrency=2 -Q default -E
|
||||
@uv run celery -A app worker -l INFO --concurrency=2 -Q default -E
|
||||
|
||||
docker-run:
|
||||
@docker-compose up
|
||||
@@ -34,19 +34,20 @@ docker-run-worker:
|
||||
@docker-compose up worker
|
||||
|
||||
shell:
|
||||
@poetry run python manage.py shell
|
||||
@uv run python manage.py shell
|
||||
|
||||
makemigrations:
|
||||
@poetry run python manage.py makemigrations
|
||||
@uv run python manage.py makemigrations
|
||||
|
||||
migrate:
|
||||
@poetry run python manage.py migrate
|
||||
@uv run python manage.py migrate
|
||||
|
||||
collectstatic:
|
||||
@poetry run python manage.py collectstatic
|
||||
@uv run python manage.py collectstatic
|
||||
|
||||
blue:
|
||||
@poetry run blue .
|
||||
lint:
|
||||
@uv run ruff format .
|
||||
@uv run ruff check .
|
||||
|
||||
isort:
|
||||
@poetry run isort .
|
||||
fix-lint:
|
||||
@uv run ruff check . --fix
|
||||
|
||||
Reference in New Issue
Block a user