Phase 10, part 2: the first owner, from a one-time setup link

A new server prints a link to create its owner (supermarket setup-link
makes another); until it's used, every page says the setup isn't
finished. One-time links (schema 33) are kept as hashes and used up in
one statement; resets and invitations will use them too. The server
edition opens Postgres.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 08:53:14 -07:00
co-authored by Claude Opus 5.5
parent 96404a3580
commit 72455438c9
16 changed files with 553 additions and 10 deletions
@@ -0,0 +1,8 @@
{{define "content"}}
<h1>Supermarket isn't set up yet</h1>
<section class="card">
<p>Its owner hasn't been created. Whoever installed it opens the setup link from the start-up log, which begins <code>/setup/</code>.</p>
<p class="help">To make a new link, run this on the server:</p>
<pre>docker compose exec supermarket supermarket setup-link</pre>
</section>
{{end}}