diff --git a/Makefile b/Makefile index 215e751af..513196989 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,17 @@ GIT_HOOKS_PATH ?= $(shell git config --global core.hooksPath || echo "") .PHONY: bootstrap bootstrap: ## Set up everything to run the app + make generate-version-file + poetry self add poetry-dotenv-plugin + poetry lock --no-update + poetry install --sync --no-root + poetry run pre-commit install + createdb notification_api || true + createdb test_notification_api || true + (poetry run flask db upgrade) || true + +.PHONY: bootstrap-with-git-hooks +bootstrap-with-git-hooks: ## Sets everything up and accounts for pre-existing git hooks make generate-version-file poetry self add poetry-dotenv-plugin poetry lock --no-update