2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 14:48:25 +00:00
books/www/index.js

22 lines
513 B
JavaScript
Raw Normal View History

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