This repository has been archived on 2024-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
python-azure-example/justfile
2024-03-01 15:11:34 +01:00

25 lines
470 B
Makefile

# Always use devbox environment to run commands.
set shell := ["devbox", "run"]
# Load dotenv
set dotenv-load
export TF_VAR_name := env("APP_NAME")
# Run server locally
run:
flask --app src/server run
dependencies:
pip install -r src/requirements.txt
dependencies-lock:
pip freeze -l > src/requirements.txt
deploy:
terraform-apply:
terraform -chdir=terraform init
terraform -chdir=terraform apply
terraform-destroy:
terraform -chdir=terraform destroy