mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-29 22:19:31 +02:00
Add setup entrypoint
This commit is contained in:
parent
eb45fe8e49
commit
3d2d2043a9
4 changed files with 12 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue