mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Create new command instead of trying to be fancy
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
11
Makefile
11
Makefile
@@ -15,6 +15,17 @@ GIT_HOOKS_PATH ?= $(shell git config --global core.hooksPath || echo "")
|
|||||||
|
|
||||||
.PHONY: bootstrap
|
.PHONY: bootstrap
|
||||||
bootstrap: ## Set up everything to run the app
|
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
|
make generate-version-file
|
||||||
poetry self add poetry-dotenv-plugin
|
poetry self add poetry-dotenv-plugin
|
||||||
poetry lock --no-update
|
poetry lock --no-update
|
||||||
|
|||||||
Reference in New Issue
Block a user