Run all python Makefile commands via poetry
This commit is contained in:
parent
85f52fc735
commit
869e0e0fe0
16
Makefile
16
Makefile
|
@ -16,28 +16,28 @@ css-dev: css
|
||||||
npx tailwindcss -i ./src/input.css -o ./src/web/tracker/static/base.css --watch
|
npx tailwindcss -i ./src/input.css -o ./src/web/tracker/static/base.css --watch
|
||||||
|
|
||||||
makemigrations:
|
makemigrations:
|
||||||
python src/web/manage.py makemigrations
|
poetry run python src/web/manage.py makemigrations
|
||||||
|
|
||||||
migrate: makemigrations
|
migrate: makemigrations
|
||||||
python src/web/manage.py migrate
|
poetry run python src/web/manage.py migrate
|
||||||
|
|
||||||
dev: migrate
|
dev: migrate
|
||||||
python src/web/manage.py runserver
|
TZ=Europe/Prague poetry run python src/web/manage.py runserver
|
||||||
|
|
||||||
dumptracker:
|
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:
|
loadplatforms:
|
||||||
python src/web/manage.py loaddata platforms.yaml
|
poetry run python src/web/manage.py loaddata platforms.yaml
|
||||||
|
|
||||||
loadsample:
|
loadsample:
|
||||||
python src/web/manage.py loaddata sample.yaml
|
poetry run python src/web/manage.py loaddata sample.yaml
|
||||||
|
|
||||||
createsuperuser:
|
createsuperuser:
|
||||||
python src/web/manage.py createsuperuser
|
poetry run python src/web/manage.py createsuperuser
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
python src/web/manage.py shell
|
poetry run python src/web/manage.py shell
|
||||||
|
|
||||||
poetry.lock: pyproject.toml
|
poetry.lock: pyproject.toml
|
||||||
poetry install
|
poetry install
|
||||||
|
|
Loading…
Reference in New Issue