6 Commits
Author SHA1 Message Date
Jake 4576e6fae3 Docs: production deployment recipe + Arch gotchas
- README: expand the production section with a full systemd recipe
  (useradd, chown, uv sync --project, install -d for ReadWritePaths,
  .env perms 640), a Caddy block, and backup note.
- AGENTS.md: add the Arch python-uv package-name note and the root-rooted
  venv caveat, plus a new "Deploy / production" section documenting the
  volundr unit, data location, .env perms, and forward-proxy expectations.
2026-09-10 13:25:19 +01:00
Jake ff7212ab9e deploy: keep app data in /opt/bike_admin/data (ReadWritePaths)
Match the live volundr unit: drop StateDirectory=/var/lib/bike_admin in
favour of ReadWritePaths=/opt/bike_admin/data. systemd requires the
ReadWritePaths target to exist before the service starts, so the unit
documents the one-time install -d prerequisite.
2026-09-10 13:11:27 +01:00
Jake 2d63006bdc Rebrand to volundr; add deploy artifacts
- User-facing brand "bike-admin" -> "volundr" (page titles, top bar,
  login header, FastAPI title, README/AGENTS). Directory, remote,
  BIKE_ADMIN_* env prefix and bike_admin.db filename are unchanged.
- Add deploy/: systemd unit (bike-admin.service) and a production
  .env template (env.production.example).
2026-09-10 11:29:49 +01:00
Jake 12494bf30c Docs: document MOT/insurance renewals, due-soon state, new settings
- README: feature list now covers renewal tracking, the due-soon service
  state, and the full event-type set.
- AGENTS: add the three hint settings, compute_renewal_due, favicon.svg,
  and test_renewals.py to the layouts.
2026-09-10 10:24:25 +01:00
Jakeandopencode aced0a1a3b Add MOT/insurance renewal hints, table service card, and favicon
- Renewal tracking: compute due/overdue status from the most recent
  mot/insurance event (renewal_months, renewal_due_soon_days settings),
  surfaced on the service card and dashboard.
- Service-status card metrics now render as a two-column label/value
  table with row separators instead of wrapping auto-fill grid cells.
- Add a bicycle favicon (favicon.svg) to base + login templates.

Co-Authored-By: opencode <opencode@users.noreply.github.com>
2026-09-10 10:01:17 +01:00
Jake 99c15e23bb Batman 2026-09-09 17:49:01 +01:00