Complete ERPNext first-run setup on bench command line

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

As far I know is “No”.

Hi,

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

1 Like

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',
}
1 Like

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