feat: run collectstatic before launching development server to update static assets

wip-gitea
Hostea dashboard 2022-09-12 02:57:31 +05:30
parent 41ca63244e
commit 6365b84d45
Signed by untrusted user who does not match committer: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ endef
default: ## Run app
$(call run_migrations)
. ./venv/bin/activate && yes yes | python manage.py collectstatic
. ./venv/bin/activate && python manage.py runserver
coverage: ## Generate test coverage report