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