[re-org] setup wizard in frappe

This commit is contained in:
Rushabh Mehta
2015-11-09 16:53:11 +05:30
committed by Anand Doshi
parent f71ecbba2c
commit 37b4d75e4a
22 changed files with 465 additions and 1119 deletions

View File

@@ -0,0 +1,15 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.desk.page.setup_wizard.test_setup_data import args
from frappe.desk.page.setup_wizard.setup_wizard import setup_complete
import frappe.utils.scheduler
if __name__=="__main__":
frappe.connect()
frappe.local.form_dict = frappe._dict(args)
setup_complete()
frappe.utils.scheduler.disable_scheduler()