summaryrefslogtreecommitdiff
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md18
1 files changed, 9 insertions, 9 deletions
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 <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.