mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Create new command instead of trying to be fancy
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
15
Makefile
15
Makefile
@@ -15,7 +15,20 @@ NVMSH := $(shell [ -f "$(HOME)/.nvm/nvm.sh" ] && echo "$(HOME)/.nvm/nvm.sh" || e
|
|||||||
## DEVELOPMENT
|
## DEVELOPMENT
|
||||||
|
|
||||||
.PHONY: bootstrap
|
.PHONY: bootstrap
|
||||||
bootstrap: generate-version-file ## 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 playwright install --with-deps
|
||||||
|
poetry run pre-commit install
|
||||||
|
source $(NVMSH) --no-use && nvm install && npm install
|
||||||
|
source $(NVMSH) && npm ci --no-audit
|
||||||
|
source $(NVMSH) && npm run build
|
||||||
|
|
||||||
|
.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 self add poetry-dotenv-plugin
|
||||||
poetry lock --no-update
|
poetry lock --no-update
|
||||||
poetry install --sync --no-root
|
poetry install --sync --no-root
|
||||||
|
|||||||
Reference in New Issue
Block a user