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).
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
"""bike-admin package."""
|
||||
"""volundr package."""
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}bike-admin{% endblock %}</title>
|
||||
<title>{% block title %}volundr{% endblock %}</title>
|
||||
<link rel="icon" href="/static/favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/static/main.css">
|
||||
<script src="/static/htmx.min.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<a class="brand" href="/">bike-admin</a>
|
||||
<a class="brand" href="/">volundr</a>
|
||||
<nav class="nav">
|
||||
<a href="/bikes/new" class="btn btn-primary">+ Bike</a>
|
||||
<a href="/logout"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ bike.name }} - bike-admin{% endblock %}
|
||||
{% block title %}{{ bike.name }} - volundr{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head">
|
||||
<h1>{{ bike.name }}</h1>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Edit bike - bike-admin{% endblock %}
|
||||
{% block title %}Edit bike - volundr{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head"><h1>Edit {{ bike.name }}</h1></div>
|
||||
<div class="card">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}New bike - bike-admin{% endblock %}
|
||||
{% block title %}New bike - volundr{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head"><h1>New bike</h1></div>
|
||||
<div class="card">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Dashboard - bike-admin{% endblock %}
|
||||
{% block title %}Dashboard - volundr{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head">
|
||||
<h1>Your bikes</h1>
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Log in - bike-admin</title>
|
||||
<title>Log in - volundr</title>
|
||||
<link rel="icon" href="/static/favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/static/main.css">
|
||||
</head>
|
||||
<body class="auth">
|
||||
<main class="container auth-card">
|
||||
<h1 style="margin-top:0">bike-admin</h1>
|
||||
<h1 style="margin-top:0">volundr</h1>
|
||||
<p class="muted">Log in to manage your bikes.</p>
|
||||
|
||||
{% if error %}
|
||||
|
||||
Reference in New Issue
Block a user