cardinal

Setup wizard

The first screens of a new site, which set its region and its first System Manager.

A new site opens the setup wizard at /desk/setup-wizard. Until setup finishes, every desk page leads there.

Who sees it

Site stateWizard shows
Unclaimed (made without --admin-email)To its first visitor, who becomes the System Manager
Claimed, setup not finishedTo a System Manager, without the account step
Setup finishedNobody. The desk opens as usual

Exactly one visitor can claim a site, even if two finish at the same moment on different nodes. The other sees "This site has already been set up" and a Login link.

For a site on the internet, claim it when you create it so no stranger can:

cardinal new-site erp.acme.com --admin-email you@acme.com

The steps

Region. Pick Language, Country, Time Zone and Currency. The country fills the time zone, currency and formats, and a preview shows a sample date and number.

Your account. Full Name, Email and Password, with a strength meter. A weak password is allowed with a warning. This step shows only on an unclaimed site.

App steps. Each installed app that needs a first choice adds its own step. ERP, for example, asks for the company.

Finish. Cardinal saves everything in one go, then opens the desk. If any field is refused, nothing is saved and the wizard shows the errors.

The first user gets System Manager and every other role with desk access.

Later changes

Everything the wizard sets can change later in System Settings.

An app installed after setup finished does not reopen the wizard. Make its first choices on its own settings pages. ERP installed this way creates no Company, so create one from the desk.

Headless setup and starting over

CommandDoes
cardinal setup complete -t HOSTFinishes setup without the browser
cardinal setup reopen -t HOST --admin-email EKeeps the old data under a renamed schema, installs a fresh site and claims it for E

The site sends no mail until a System Manager adds an Email Account, so a password reset by email waits until then.

On this page