document just recipes
This commit is contained in:
parent
092131e4ca
commit
c846da75a8
5
Justfile
5
Justfile
@ -1,10 +1,12 @@
|
|||||||
|
# run pre-commit linters
|
||||||
lint:
|
lint:
|
||||||
uv run pre-commit run --all-files
|
uv run pre-commit run --all-files
|
||||||
|
|
||||||
|
# run pytest
|
||||||
test *ARGS:
|
test *ARGS:
|
||||||
uv run pytest {{ARGS}}
|
uv run pytest {{ARGS}}
|
||||||
|
|
||||||
|
# reset database and ephemeral files
|
||||||
reset:
|
reset:
|
||||||
rm -rf _logs/*
|
rm -rf _logs/*
|
||||||
rm -rf _staticfiles
|
rm -rf _staticfiles
|
||||||
@ -12,6 +14,7 @@ reset:
|
|||||||
uv run python manage.py migrate
|
uv run python manage.py migrate
|
||||||
uv run python manage.py createsuperuser
|
uv run python manage.py createsuperuser
|
||||||
|
|
||||||
|
# run development server
|
||||||
runserver *ARGS:
|
runserver *ARGS:
|
||||||
uv run python manage.py runserver {{ARGS}}
|
uv run python manage.py runserver {{ARGS}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user