-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,35 @@ | ||
.PHONY: help | ||
help: ## show help message | ||
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n \033[36m\033[0m\n"} /^[$$()% a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) | ||
|
||
.PHONY: install | ||
install: ## install dependencies locally | ||
scripts/install.sh | ||
|
||
.PHONY: run | ||
run: ## run locally | ||
tmux new-session -d -s "deejai" scripts/run.sh | ||
|
||
.PHONY: test | ||
test: ## run tests locally | ||
scripts/run_tests.sh | ||
|
||
.PHONY: download | ||
download: ## download model artifacts | ||
pipenv run python scripts/download.py | ||
|
||
.PHONY: docker | ||
docker: ## build docker file | ||
scripts/build_docker.sh | ||
|
||
.PHONY: k8s | ||
k8s: ## install helm chart on kubernetes | ||
scripts/install_helm_chart.sh | ||
|
||
.PHONY: tf_apply | ||
tf_apply: ## deploy with terraform | ||
scripts/tf_apply.sh | ||
|
||
.PHONY: tf_destroy | ||
tf_destroy: ## tear down terraform deployment | ||
scripts/tf_destroy.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters