ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Complete ERPNext first-run setup on bench command line

setup_issues

#1

Is there a way to complete the first time setup of user and company using bench in the terminal?


#2

As far I know is “No”.


#3

Hi,

Just wondering, is this still true or is there now a way to achieve this ?


#4

You could create python script and call frappe.desk.page.setup_wizard.setup_wizard.update_system_settings function with args something like this.

system_args = {
    'language': 'English',
    'country': 'Thailand',
    'currency': 'THB',
    'timezone': 'Asia/Bangkok',
}

#5

This thread may help with ideas too [Mar-2017] Showing there were error during setup ERPNext