mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
19 lines
342 B
JavaScript
19 lines
342 B
JavaScript
|
|
const server = require('frappejs/server');
|
|
const postStart = require('./postStart');
|
|
|
|
async function start() {
|
|
await server.start({
|
|
backend: 'sqlite',
|
|
connectionParams: { dbPath: 'test.db', enableCORS: true },
|
|
models: require('../models')
|
|
})
|
|
|
|
await postStart();
|
|
}
|
|
|
|
start();
|
|
|
|
module.exports = {
|
|
start
|
|
} |