2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/www/index.js
Prateeksha Singh 4d8d4a3912 comment setup
2018-03-29 20:15:02 +05:30

22 lines
513 B
JavaScript

const client = require('frappejs/client');
const appClient = require('../client');
const SetupWizard = require('../setup');
// start server
client.start({
server: 'localhost:8000',
makeDesk: 0
}).then(() => {
// new SetupWizard({
// postSetup: async (data) => {
// client.makeDesk(3);
// appClient.start();
// await frappe.router.setRoute('list', 'ToDo');
// }
// });
client.makeDesk(3);
appClient.start();
});
module.exports = false;