2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/server.js

9 lines
230 B
JavaScript
Raw Normal View History

2018-01-16 07:16:50 +00:00
const server = require('frappejs/server');
2018-01-23 08:00:08 +00:00
const path = require('path');
2018-01-08 12:29:49 +00:00
server.start({
backend: 'sqlite',
2018-02-08 09:39:10 +00:00
connection_params: {dbPath: 'test.db'},
2018-01-23 08:00:08 +00:00
static: './',
models_path: path.resolve(__dirname, './models')
2018-01-08 12:29:49 +00:00
});