First-run creates the superadmin in-app; wizard seeds reference data
No CLI needed for a UI-driven install. - Login page: when the instance has no users yet (/setup/needs-admin), it shows a "create the first admin" form instead of login. Submitting creates the admin (admin role = full access / superadmin) via /setup/create-admin, logs in, and goes to the setup wizard. - Wizard Starter Data step: "Seed core reference data" button (statuses, types, permissions, default settings via /setup/seed-reference) alongside the common vendors, so a UI-first install gets the data the app needs. - Add waitress to requirements.txt (the IIS web.config launches it but it was missing - found while validating the Windows install). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -117,3 +117,4 @@ werkzeug==3.1.8
|
||||
# flask-cors
|
||||
# flask-jwt-extended
|
||||
# pytest-flask
|
||||
waitress>=3.0
|
||||
|
||||
Reference in New Issue
Block a user