diff --git a/Makefile b/Makefile index ac63baa1..25b919fa 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,9 @@ mypy: build: pip install -r requirements.txt python manage.py collectstatic --no-input + rm --force ccbv.sqlite + DATABASE_URL=sqlite:///ccbv.sqlite python manage.py migrate + DATABASE_URL=sqlite:///ccbv.sqlite python manage.py loaddata $(shell find cbv/fixtures -name '*.json' | xargs) run-prod: - gunicorn core.wsgi --log-file - + DATABASE_URL=sqlite:///ccbv.sqlite gunicorn core.wsgi --log-file -