First-Time Setup Wizard (/setup) & Headless Provisioning
Daypress never boots with an insecure default admin/admin credential. Until an administrator exists in SQLite, all admin routes redirect to the 4-step /setup wizard.
Walking through the 4-step browser wizard
- Step 1 — Account & Site Identity: Enter your Website Name (
blogname), Short Tagline (blogdescription), Admin Username, Email, and a strong password (minimum 8 characters, hashed locally with memory-hard Argon2id). - Step 2 — Starting Path: Choose whether to seed designed starter content (
starter), open an empty canvas for an AI builder (blank), or jump straight into WordPress import (migrate). - Step 3 — Visual Atmosphere: Pick one of the three dual-palette editorial presets (
Daypress Daylight,Daypress Modern, orDaypress Night), typography scale (seriforsans), and primary brand accent hex. - Step 4 — Network & Launch: Confirm localhost-only vs. LAN binding and enter
/d-admin/getting-started.

Visiting /setup on a fresh SQLite database walks through site identity, Argon2id credentials, starting path, and theme atmosphere.
Comparing Starter, Blank & Migrate modes
| Mode | What Daypress Provisions in SQLite | When to Choose It |
|---|---|---|
starter | Designed DayStudio front page, sample blog post + comment, and primary navigation menu. | Exploring Daypress locally or starting from a ready-to-edit editorial layout. |
blank | Clean empty front page with zero sample posts or placeholder comments. | Recommended when an AI assistant (Claude Code, Cursor, Antigravity) will build your site via MCP. |
migrate | Clean database and immediate redirect to /d-admin/import. | Importing a WordPress .json migration bundle or WXR .xml export. |
Automating setup in Docker, Terraform & CI
For non-interactive deployments, either pass DAYPRESS_ADMIN_PASSWORD on startup or submit a single URL-encoded POST /setup request:
curl -sS -X POST http://127.0.0.1:8090/setup \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "site_title=Acme Studio" \
--data-urlencode "tagline=Industrial Design & Engineering" \
--data-urlencode "username=admin" \
--data-urlencode "email=ops@acme.example" \
--data-urlencode "password=SuperStrongPass2026!" \
--data-urlencode "confirm_password=SuperStrongPass2026!" \
--data-urlencode "starter_mode=blank" \
--data-urlencode "theme=Daypress Daylight" \
--data-urlencode "typography_scale=serif" \
--data-urlencode "brand_color=#a8401b"One-Time Lock: Once at least one administrator row exists in
users, POST /setup is permanently locked and returns a redirect to /login.