add default template when it does not exist

This commit is contained in:
stvnrlly
2023-09-06 14:46:06 -04:00
parent ef471507ce
commit 833a6977c4
2 changed files with 12 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ GIT_COMMIT ?= $(shell git rev-parse HEAD)
bootstrap: ## Set up everything to run the app
make generate-version-file
poetry install
poetry self add poetry-dotenv-plugin
createdb notification_api || true
(poetry run flask db upgrade) || true
@@ -73,7 +74,6 @@ generate-version-file: ## Generates the app version file
.PHONY: test
test: export NEW_RELIC_ENVIRONMENT=test
test: ## Run tests and create coverage report
poetry self add poetry-dotenv-plugin
poetry run black .
poetry run flake8 .
poetry run isort --check-only ./app ./tests