mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 20:26:40 +00:00
Add setup entrypoint
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import { ensureActions } from "./db/ensureActions";
|
||||
import { createApiServer } from "./apiServer";
|
||||
import { createNextServer } from "./nextServer";
|
||||
import { createInternalServer } from "./internalServer";
|
||||
import { User, UserOrg } from "./db/schema";
|
||||
import { copyInConfig } from "./setup/copyInConfig";
|
||||
import { runSetupFunctions } from "./setup";
|
||||
|
||||
async function startServers() {
|
||||
await ensureActions();
|
||||
await copyInConfig();
|
||||
await runSetupFunctions();
|
||||
|
||||
// Start all servers
|
||||
const apiServer = createApiServer();
|
||||
|
||||
Reference in New Issue
Block a user