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

10 lines
264 B
JavaScript
Raw Normal View History

2018-01-08 12:29:49 +00:00
const server = require('frappe-core/frappe/server');
const frappe = require('frappe-core');
const express = require('express');
server.start({
backend: 'sqllite',
connection_params: {db_path: 'test.db'}
}).then(() => {
frappe.app.use(express.static('./'));
});