browser-based admin setup on first visit, no CLI needed

This commit is contained in:
2026-03-21 19:34:51 +02:00
parent 010c811a48
commit 1566f85cc9
3 changed files with 142 additions and 23 deletions

View File

@@ -30,13 +30,9 @@ Then start it:
docker compose up -d
```
Create the initial admin account:
Visit `http://localhost:3000/admin` (or whatever port you set) and create your admin account right in the browser. This setup screen only appears once - before any admin exists.
```bash
docker compose exec app npx tsx packages/api/src/cli/create-admin.ts
```
The app is at `http://localhost:3000` (or whatever port you set). Put a reverse proxy in front for HTTPS.
Put a reverse proxy in front for HTTPS (required for passkeys to work).
## What's included