Is it possible to disable the setup wizard when a new site is created and set default settings programmatically? I don’t what to create a new user either, administrator is enough
I have never tested it. But I “think” if you add
skip_setup_wizard = 0
To 'site_config.json'
, that it will skip the Setup Wizard on startup.
From bench console, you can call complete_setup_wizard()
to programmatically bypass the setup wizard.
Since I set up/drop a lot of sites, I use this script to automatically setup wizard and import required records.
1 Like
I try it. But it didn’t work
You need to set "skip_setup_wizard ": 1
in sites/common_site_config.json. I tried it. It works for me (ERPNext/Frappe v14)
1 Like