Portal installer

Use this once after uploading the files. It writes app/.env, checks the MySQL database, creates or rebuilds the required tables, saves the message of the day, and creates the first local admin.

Portal and database

Microsoft Entra

Portal content and local admin

What this installer does

  • Checks whether the portal tables already exist.
  • Lets you cancel or rebuild if tables are already present.
  • Creates the full schema automatically.
  • Saves the message of the day in the database.
  • Creates the first local admin account.
  • Writes the portal configuration to app/.env.

Entra setup help

  1. Create a single-tenant app registration.
  2. Add a Web redirect URI that exactly matches the redirect URI shown on this form.
  3. Create a client secret and paste the secret value, not the secret ID.
  4. Add delegated Microsoft Graph permissions: openid, profile, email, offline_access, User.Read, and GroupMember.Read.All.
  5. Grant admin consent if your tenant requires it.
  6. Enter one or more bootstrap Microsoft admin email addresses so the first Microsoft admins do not need Entra object IDs.

Allowed tenant ID is automatically set to the same value as Tenant ID. Time zone is preselected from your browser when supported.

Current base path guess: