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;
|