2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/www/index.js

22 lines
513 B
JavaScript
Raw Normal View History

2018-03-26 12:14:27 +00:00
const client = require('frappejs/client');
const appClient = require('../client');
2018-03-28 10:26:24 +00:00
const SetupWizard = require('../setup');
2018-03-26 12:14:27 +00:00
// start server
client.start({
2018-03-28 10:26:24 +00:00
server: 'localhost:8000',
makeDesk: 0
2018-03-26 12:14:27 +00:00
}).then(() => {
2018-03-29 14:45:02 +00:00
// new SetupWizard({
// postSetup: async (data) => {
// client.makeDesk(3);
// appClient.start();
2018-03-28 10:26:24 +00:00
2018-03-29 14:45:02 +00:00
// await frappe.router.setRoute('list', 'ToDo');
// }
// });
client.makeDesk(3);
appClient.start();
2018-03-26 12:14:27 +00:00
});
module.exports = false;