Hii all i want to know that how i can run two sites simulteniously in devlopment enviornment of erpnext
Assuming you have setup one site and its working correctly and are using dns for multisite…
Ensure DNS multi-tenant is activated:
bench config dns_multitenant on
Then create new site:
bench new-site webaddress.of.new.site
Then:
bench get-app erpnext https://github.com/frappe/erpnext
Then install using:
bench --site webaddress.of.new.site install-app erpnext
You will be prompted for your MYSQL/MariaDB password and also to enter a new admin password (this will be for username Administrator).
Once setup you can start bench using:
bench start
Thanks.