Changeset View
Changeset View
Standalone View
Standalone View
Makefile.local
Show All 19 Lines | |||||
db-load-private-data: db-load-data | db-load-private-data: db-load-data | ||||
$(MANAGE) loaddata ../private_data.yaml | $(MANAGE) loaddata ../private_data.yaml | ||||
run-dev: | run-dev: | ||||
$(MANAGE) runserver | $(MANAGE) runserver | ||||
run: | run: | ||||
gunicorn3 -b 127.0.0.1:5006 swh.deposit.wsgi | gunicorn3 -b 127.0.0.1:5006 swh.deposit.wsgi | ||||
# Override default rule to make sure DJANGO env var is properly set. It | |||||
# *should* work without any override thanks to the mypy django-stubs plugin, | |||||
# but it currently doesn't; see | |||||
# https://github.com/typeddjango/django-stubs/issues/166 | |||||
typecheck: | |||||
DJANGO_SETTINGS_MODULE=swh.deposit.settings.testing $(MYPY) $(MYPYFLAGS) swh |