2024-01-13 18:58:43 +02:00
|
|
|
# unit tests independent of your environment. Aspires to be the default CI job.
|
2024-01-13 18:36:51 +02:00
|
|
|
.PHONY: check
|
|
|
|
test:
|
2024-01-13 18:58:43 +02:00
|
|
|
nix flake check
|
2024-01-13 18:36:51 +02:00
|
|
|
|
2024-01-15 10:01:47 +02:00
|
|
|
.PHONY: format
|
|
|
|
format:
|
|
|
|
autopep8 -a -a --recursive --in-place --exclude app/signup/migrations app
|
|
|
|
|
2024-01-13 18:58:43 +02:00
|
|
|
.PHONY: run
|
|
|
|
run:
|
|
|
|
app/manage.py runserver
|
|
|
|
|
|
|
|
# "Like production". Run with "run-caddy".
|
2024-01-13 18:54:32 +02:00
|
|
|
.PHONY: run-gunicorn
|
|
|
|
run-gunicorn:
|
2024-01-13 18:36:51 +02:00
|
|
|
nix run .#e11sync-gunicorn
|