From 7d627d16cd4bb88e625291dff4cc886c68dbf785 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 16 Mar 2026 08:53:44 +0000 Subject: chore: migrate deploy + ops scripts from SSH to local execution Replace SSH-based deploy.sh with scripts/deploy that runs locally on the server. Update scripts/bugs, scripts/logs, and scripts/resolve-bug to drop SSH wrappers. Update CLAUDE.md and DESIGN.md to reflect new local workflow. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index f3bc629..237fdaa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,17 +20,17 @@ Agent roles defined in `~/.claude/roles/`. - **Run:** `go run cmd/dashboard/main.go` - **Test:** `go test ./...` - **Build:** `go build -o dashboard cmd/dashboard/main.go` -- **Deploy:** `bash deploy.sh` (builds with ldflags, pushes, restarts via SSH) +- **Deploy:** `./scripts/deploy` (builds with ldflags, syncs locally, restarts service) ## Debugging -- **Production logs:** `bash scripts/logs` — fetches journalctl from production via SSH - - `bash scripts/logs -n 100` last N lines - - `bash scripts/logs -f` follow - - `bash scripts/logs --since "1 hour ago"` - - Pipe through `grep` to filter: `bash scripts/logs -n 500 2>&1 | grep -i error` -- **View bugs:** `bash scripts/bugs` — lists open bugs from production database -- **Resolve bug:** `bash scripts/resolve-bug ` — marks a bug as resolved -- **Always check production logs first** when debugging reported issues +- **Production logs:** `./scripts/logs` — fetches journalctl from the local service + - `./scripts/logs -n 100` last N lines + - `./scripts/logs -f` follow + - `./scripts/logs --since "1 hour ago"` + - Pipe through `grep` to filter: `./scripts/logs -n 500 2>&1 | grep -i error` +- **View bugs:** `./scripts/bugs` — lists open bugs from local production database +- **Resolve bug:** `./scripts/resolve-bug ` — marks a bug as resolved +- **Always check logs first** when debugging reported issues ## Technical Context - **Trello is PRIMARY:** Key + Token required in query params. -- cgit v1.2.3