mirror of
https://github.com/frappe/books.git
synced 2024-12-24 20:00:29 +00:00
20 lines
322 B
JavaScript
20 lines
322 B
JavaScript
import server from 'frappe/server';
|
|
import models from '../models';
|
|
import postStart from './postStart';
|
|
|
|
async function start() {
|
|
await server.start({
|
|
backend: 'sqlite',
|
|
connectionParams: { dbPath: 'test.db', enableCORS: true },
|
|
models,
|
|
});
|
|
|
|
await postStart();
|
|
}
|
|
|
|
start();
|
|
|
|
export default {
|
|
start,
|
|
};
|