mirror of
https://github.com/nocobase/nocobase
synced 2024-11-17 09:25:54 +00:00
9 lines
241 B
TypeScript
9 lines
241 B
TypeScript
|
import { Application, readConfig } from '@nocobase/server';
|
||
|
import * as path from 'path';
|
||
|
|
||
|
(async () => {
|
||
|
const config = await readConfig(path.join(__dirname, './config'));
|
||
|
const app = new Application(config);
|
||
|
await app.parse();
|
||
|
})();
|