mirror of
https://github.com/frappe/books.git
synced 2024-12-24 11:55:46 +00:00
22 lines
513 B
JavaScript
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; |