mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
Add setup entrypoint
This commit is contained in:
7
server/setup/index.ts
Normal file
7
server/setup/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { ensureActions } from "./ensureActions";
|
||||
import { copyInConfig } from "./copyInConfig";
|
||||
|
||||
export async function runSetupFunctions() {
|
||||
await ensureActions(); // make sure all of the actions are in the db and the roles
|
||||
await copyInConfig(); // copy in the config to the db as needed
|
||||
}
|
||||
Reference in New Issue
Block a user