Development
Run from source
Section titled “Run from source”-
Copy
.env.exampleto.envand set at leastADMIN_PASSWORD. -
Start the backend:
Terminal window cd backendgo run . -
Start the product frontend in another terminal:
Terminal window cd frontendnpm installnpm run dev # http://localhost:5173 -
The marketing site, if you need it:
Terminal window cd websitedeno task dev
Vite proxies /api and PocketBase routes to the backend, so set HTTP_ADDR to the address the proxy in frontend/vite.config.ts expects.
Tests and builds
Section titled “Tests and builds”| Task | Command |
|---|---|
| Backend tests | cd backend && go test ./... |
| Frontend build | cd frontend && npm run build |
| Website build | cd website && deno task build |
| Full release matrix | ./scripts/build-release.sh |
Release build
Section titled “Release build”./scripts/build-release.shProduces output/agilerr for quick testing, versioned archives in output/<version>/, and the matching files in website/static/downloads/. Targets: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64.
Docker image
Section titled “Docker image”docker build -t rmalcomber/agilerr:tagname .docker push rmalcomber/agilerr:tagnameScreenshots
Section titled “Screenshots”tools/faq-capture drives headless Chrome against a running dev app and writes screenshots as WebP. See its README.
Generated assets
Section titled “Generated assets”Be careful with these:
backend/web/dist/is the embedded frontend build output.website/static/downloads/holds release artifacts copied by the build script.
Support the project: Buy Me a Coffee or GitHub Sponsors.