PYTHON ?= python3.11 KIND_KUBECONFIG ?= $(HOME)/.kube/config-kind.yaml # Checks system dependencies needed to run the local dev environment check-system-deps: @echo "Checking system dependencies..." @command -v $(PYTHON) > /dev/null || (echo "Python 3.11 is not installed."; exit 1) @command -v kubectl > /dev/null || (echo "kubectl is not installed."; exit 1) @command -v docker > /dev/null || (echo "Docker is not installed."; exit 1) @command -v kind > /dev/null || (echo "Kind is not installed."; exit 1) @command -v ctlptl version > /dev/null || (echo "ctlptl is not installed."; exit 1) @command -v tilt > /dev/null || (echo "Tilt is not installed."; exit 1) @command -v helm > /dev/null || (echo "Helm is not installed."; exit 1) @echo "All required dependencies are installed." start-local: export KUBECONFIG=$(KIND_KUBECONFIG) ;\ ctlptl apply -f kind.yaml ;\ tilt up --context kind-kind-local stop-local: export KUBECONFIG=$(KIND_KUBECONFIG) ;\ tilt down --context kind-kind-local