diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 08:53:44 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 08:53:44 +0000 |
| commit | 7d627d16cd4bb88e625291dff4cc886c68dbf785 (patch) | |
| tree | 2cc1b6c4a338a202aaf46083b65254bc62f031e0 /CLAUDE.md | |
| parent | 2be0b6a90cd83c8052ee13a172217e4a355c7df7 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 <id>` — 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 <id>` — marks a bug as resolved +- **Always check logs first** when debugging reported issues ## Technical Context - **Trello is PRIMARY:** Key + Token required in query params. |
