From 869e0e0fe0a8cdc6b30a0247459f43ce1c470c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 5 Jan 2023 17:12:57 +0100 Subject: [PATCH] Run all python Makefile commands via poetry --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 13b7ee5..25323e6 100644 --- a/Makefile +++ b/Makefile @@ -16,28 +16,28 @@ css-dev: css npx tailwindcss -i ./src/input.css -o ./src/web/tracker/static/base.css --watch makemigrations: - python src/web/manage.py makemigrations + poetry run python src/web/manage.py makemigrations migrate: makemigrations - python src/web/manage.py migrate + poetry run python src/web/manage.py migrate dev: migrate - python src/web/manage.py runserver + TZ=Europe/Prague poetry run python src/web/manage.py runserver dumptracker: - python src/web/manage.py dumpdata --format yaml tracker --output tracker_fixture.yaml + poetry run python src/web/manage.py dumpdata --format yaml tracker --output tracker_fixture.yaml loadplatforms: - python src/web/manage.py loaddata platforms.yaml + poetry run python src/web/manage.py loaddata platforms.yaml loadsample: - python src/web/manage.py loaddata sample.yaml + poetry run python src/web/manage.py loaddata sample.yaml createsuperuser: - python src/web/manage.py createsuperuser + poetry run python src/web/manage.py createsuperuser shell: - python src/web/manage.py shell + poetry run python src/web/manage.py shell poetry.lock: pyproject.toml poetry install