Installation¶
Prerequisites¶
- Go 1.21+ — the toolchain is also required at worker runtime, since workers invoke
go test -coverprofile. - Postgres 16+ — durable store for tasks, results, locks, and per-repo config.
- NATS with JetStream enabled — job queue and event bus.
- go-crap — the scanner binary, on
PATH(or setcrap_bin).
Build¶
git clone https://github.com/padiazg/go-crap-tracker.git
cd go-crap-tracker
# with make (embeds version, commit, build date)
make build
# or directly
go build -o go-crap-tracker .
Verify:
Run¶
Start the control plane and a worker in two terminals:
See Quick Start to schedule your first scan.