PY=.venv/bin/python SI=.venv/bin/si .PHONY: dev backend frontend worker migrate seed ingest test lint typecheck build deploy backup dev: ## backend + frontend dev servers (two terminals recommended) @echo "run 'make backend' and 'make frontend' in two terminals" backend: ## FastAPI with reload on :8311 $(SI) api --reload frontend: ## Next dev on :8310 pnpm dev:web worker: ## scheduler process $(SI) schedule migrate: $(SI) migrate seed: $(SI) seed ingest: ## full ingestion chain $(SI) run celestrak_satcat; $(SI) run celestrak_gp; $(SI) run celestrak_groups; $(SI) run derived_analytics test: $(PY) -m pytest -q lint: .venv/bin/ruff check src tests typecheck: cd apps/web && pnpm typecheck build: pnpm build deploy: ## stage + deploy through mld (see docs/DEPLOY.md) deploy/render-manifest.sh --push ~/Desktop/cluster-skill/mld stage $(CURDIR) satelliteindex ~/Desktop/cluster-skill/mld deploy satelliteindex --node M2M32b backup: $(SI) backup