mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
const server = require('frappejs/server');
|
|
const frappe = require('frappejs');
|
|
|
|
server.start({
|
|
backend: 'sqlite',
|
|
connectionParams: {dbPath: 'test.db'},
|
|
static: './',
|
|
models: require('./models')
|
|
}).then(() => {
|
|
frappe.syncDoc(require('./fixtures/invoicePrint'));
|
|
}); |