mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
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:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user