From 2d63006bdcea219d46dfa4d74b499006b35c7444 Mon Sep 17 00:00:00 2001 From: Jake Pullen Date: Thu, 10 Sep 2026 11:29:49 +0100 Subject: [PATCH] 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). --- AGENTS.md | 2 +- README.md | 2 +- app/__init__.py | 2 +- app/main.py | 2 +- app/templates/base.html | 4 ++-- app/templates/bikes/detail.html | 2 +- app/templates/bikes/edit.html | 2 +- app/templates/bikes/new.html | 2 +- app/templates/dashboard.html | 2 +- app/templates/login.html | 4 ++-- deploy/bike_admin.service | 27 +++++++++++++++++++++++++++ deploy/env.production.example | 25 +++++++++++++++++++++++++ 12 files changed, 64 insertions(+), 12 deletions(-) create mode 100644 deploy/bike_admin.service create mode 100644 deploy/env.production.example diff --git a/AGENTS.md b/AGENTS.md index c3d583f..5cbb4b4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ Guidance for working in this repo. ## What this is -`bike-admin` is a small single-user web app for logging bike service/repair +**volundr** (packaged as `bike_admin`) is a small single-user web app for logging bike service/repair "events" (type, date, mileage, cost, notes) and seeing per-bike hints: a **service-due** status derived from the newest mileage and the most recent `service` event, plus **MOT / insurance renewal** statuses derived from the most diff --git a/README.md b/README.md index 540074e..b9e9233 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# bike-admin +# volundr A small, secure, single-user web app for logging bike service and repair "events" (type, date, mileage, cost, notes) and getting a clear **service-due** diff --git a/app/__init__.py b/app/__init__.py index 45cb68a..c663d3f 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1 +1 @@ -"""bike-admin package.""" +"""volundr package.""" diff --git a/app/main.py b/app/main.py index 9109c83..74e86e4 100644 --- a/app/main.py +++ b/app/main.py @@ -215,7 +215,7 @@ async def lifespan(_: FastAPI): yield -app = FastAPI(title="bike-admin", lifespan=lifespan) +app = FastAPI(title="volundr", lifespan=lifespan) @app.exception_handler(FastAPIUnauthorized) diff --git a/app/templates/base.html b/app/templates/base.html index c4b751c..a7fd6fb 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -3,14 +3,14 @@ -{% block title %}bike-admin{% endblock %} +{% block title %}volundr{% endblock %}
- bike-admin + volundr