Phase 9, part 1: editions and their settings

SUPERMARKET_MODE picks local (the default), server or multi. internal/config
reads and checks every setting the editions need (database, secret key,
storage, the app's own mail, an https address), reporting all problems at
once. supermarket config prints them without passwords; supermarket
secret-key makes a key. Settings -> About shows the edition. Server and
multi-tenant are checked but refuse to start until they're built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 06:55:30 -07:00
co-authored by Claude Opus 5.5
parent 338eaa2c79
commit 7a857c7346
12 changed files with 671 additions and 9 deletions
+5
View File
@@ -481,3 +481,8 @@ svg.line-chart line.axis { stroke: hsl(var(--border)); }
.next-item .next-head h3 { margin: 0; }
.next-item .next-head p { margin: 0 0 0.15rem; }
.next-rank { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 999px; display: grid; place-items: center; font-weight: 600; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
/* Settings → About: name and value pairs */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.2rem; margin: 0.5rem 0 0.8rem; }
dl.facts dt { font-weight: 600; color: hsl(var(--muted-foreground)); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }