From 959ab4fc7d294f5edf5b0acb652fac2399ce04b7 Mon Sep 17 00:00:00 2001 From: chabad360 Date: Thu, 5 Mar 2020 01:38:01 +0000 Subject: [PATCH] one small change to support multi-tenancy --- build/common/commands/new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common/commands/new.py b/build/common/commands/new.py index b87641db..4cc13a28 100644 --- a/build/common/commands/new.py +++ b/build/common/commands/new.py @@ -6,7 +6,7 @@ site_name = os.environ.get("SITE_NAME", 'site1.localhost') mariadb_root_username = os.environ.get("DB_ROOT_USER", 'root') mariadb_root_password = os.environ.get("MYSQL_ROOT_PASSWORD", 'admin') force = True if os.environ.get("FORCE", None) else False -install_apps = ['erpnext'] if os.environ.get("INSTALL_ERPNEXT", None) else False +install_apps = os.environ.get("INSTALL_APPS").split(",") frappe.init(site_name, new_site=True) _new_site(