Setup wizard
Setup wizard
Open /install on a fresh install. The wizard has four steps and blocks itself from running again once finished.
Step 1 — Verify license
Paste the purchase code you received by email. The wizard:
- POSTs the key, product slug and current domain to
https://api.pcreative.dev/api/license/activate. - The issuer signs an RS256 JWT and returns it.
- Aurora Travel verifies the signature locally against the embedded public key (offline-capable).
- The JWT is stored at
storage/app/private/.pcreative-license.jwtand mirrored tosetup_state.license_jwt.
There is no accept provisionally fallback — if the issuer is unreachable or the JWT fails verification, the wizard refuses to continue.
Step 2 — Test database
The wizard runs a quick SELECT 1 against the configured connection. If it works it advances to migrations; if it fails you see the underlying driver error so you can fix the connection string.
Step 3 — Run migrations
Executes php artisan migrate --force followed by the DemoSeeder for an out-of-the-box demo. You can skip the seed step on a production install — none of the runtime depends on demo rows.
Step 4 — Create admin
Enter name, email and password for the first administrator account. The user is created with email_verified_at = now() and assigned the admin role through Spatie Permission.
Re-run the wizard
Delete storage/app/private/.pcreative-license.jwt, set SETUP_COMPLETED=false in .env, and truncate setup_state. The wizard becomes reachable again at /install.