Update install instructions for Postgres

This apps works with v11, but not with v13. Adding '|| true' in the
Makefile means the 'bootstrap' rule can be run multiple times, even
if the DB already exists.
This commit is contained in:
Ben Thorner
2021-02-18 15:19:40 +00:00
parent 5ff7c2013e
commit f2c6a49ab6
2 changed files with 9 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ NOTIFY_CREDENTIALS ?= ~/.notify-credentials
.PHONY: bootstrap
bootstrap: generate-version-file
pip3 install -r requirements_for_test.txt
createdb notification_api
createdb notification_api || true
. environment.sh && flask db upgrade
.PHONY: run-flask