remove server admin from config and add onboarding ui

This commit is contained in:
miloschwartz 2025-06-19 22:11:05 -04:00
parent f300838f8e
commit d03f45279c
No known key found for this signature in database
15 changed files with 345 additions and 190 deletions

View file

@ -1,13 +1,11 @@
import { ensureActions } from "./ensureActions";
import { copyInConfig } from "./copyInConfig";
import { setupServerAdmin } from "./setupServerAdmin";
import logger from "@server/logger";
import { clearStaleData } from "./clearStaleData";
export async function runSetupFunctions() {
try {
await copyInConfig(); // copy in the config to the db as needed
await setupServerAdmin();
await ensureActions(); // make sure all of the actions are in the db and the roles
await clearStaleData();
} catch (error) {