Move bootstrap tasks into the Makefile

This is more consistent with how we run all other tasks. Note that
the virtual env setup is not generally applicable, and developers
of this repo should follow the guidance in the README.
This commit is contained in:
Ben Thorner
2021-02-17 17:22:45 +00:00
parent dc6fb1d1f2
commit af95ad68ea
3 changed files with 8 additions and 41 deletions

View File

@@ -21,6 +21,12 @@ NOTIFY_CREDENTIALS ?= ~/.notify-credentials
## DEVELOPMENT
.PHONY: bootstrap
bootstrap: generate-version-file
pip3 install -r requirements_for_test.txt
createdb notification_api
. environment.sh && flask db upgrade
.PHONY: run-flask
run-flask:
. environment.sh && flask run -p 6011