.PHONY: sync backend runtime schedule migrate up down

sync:
	uv sync --all-packages

backend:
	uv run --package backend --env-file .env uvicorn backend.main:app --host 0.0.0.0 --port 8010 --reload

runtime:
	uv run --package runtime --env-file .env uvicorn runtime.main:app --host 0.0.0.0 --port 8012 --reload

schedule:
	uv run --package schedule --env-file .env uvicorn schedule.main:app --host 0.0.0.0 --port 8013 --reload


up:
	docker compose up -d --build

down:
	docker compose down
