From 3bcb823909e4d0f69040240e0f5edceccacb4c83 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Mon, 6 Apr 2026 16:20:03 -0600 Subject: [PATCH] Add deploy, logs, status targets to Makefile --- Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 22ee6bc..58bfb0b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: dev serve lint fmt build publish help +.PHONY: dev serve lint fmt build publish deploy logs status help # Development server with auto-reload dev: @@ -26,6 +26,18 @@ build: publish: build uv publish +# Deploy to Fly.io +deploy: + fly deploy -a chess-pressure + +# Tail production logs +logs: + fly logs -a chess-pressure + +# Production status +status: + fly status -a chess-pressure + help: @echo "chess-pressure" @echo "" @@ -35,3 +47,6 @@ help: @echo " make fmt ruff format + auto-fix" @echo " make build build sdist + wheel" @echo " make publish build + publish to PyPI" + @echo " make deploy deploy to Fly.io" + @echo " make logs tail production logs" + @echo " make status Fly.io app status"