A fresh install now asks you to set it up

Installing MeshWeaver used to mean deciding everything before the first start. The database, the way people sign in and the model keys all had to be written into configuration files by hand, and an instance that started without them simply refused to run.

A fresh instance now opens a setup page in the browser instead. It asks four questions:

Press Install and the instance restarts configured. Nothing is asked twice, and every answer stays editable afterwards.

Secrets you type are encrypted before they are stored, under a key the instance creates for itself if the deployment has not supplied one — and that key is kept in a separate file from the answers, so the settings can be copied or backed up without carrying the credentials along. If a secret cannot be encrypted, the page refuses rather than storing it in the clear.

The page is protected by a one-time token the instance prints to its own log when it starts, so somebody who merely reaches the address cannot configure your portal before you do. On a local install, memex-local setup fetches the token and opens the page for you.

Reconnecting…
The server was updated. Reloading the page to pick up the latest version.