From d819bba123d28d8d7c58cf9b53e53ff1d9000361 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 20 May 2015 09:59:18 +0530 Subject: [PATCH] v5 fix #115 --- install_scripts/erpnext-apps-master.json | 5 ----- install_scripts/setup_frappe.sh | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/install_scripts/erpnext-apps-master.json b/install_scripts/erpnext-apps-master.json index ec4b2efa..c54e609e 100644 --- a/install_scripts/erpnext-apps-master.json +++ b/install_scripts/erpnext-apps-master.json @@ -3,10 +3,5 @@ "url":"https://github.com/frappe/erpnext", "name":"erpnext", "branch": "master" - }, - { - "url":"https://github.com/frappe/shopping-cart", - "name":"shopping_cart", - "branch": "master" } ] diff --git a/install_scripts/setup_frappe.sh b/install_scripts/setup_frappe.sh index e947b957..06d22bbb 100644 --- a/install_scripts/setup_frappe.sh +++ b/install_scripts/setup_frappe.sh @@ -375,12 +375,7 @@ setup_bench() { echo Setting up first site echo /home/$FRAPPE_USER/frappe-bench > /etc/frappe_bench_dir run_cmd sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER/frappe-bench && bench new-site site1.local --mariadb-root-password $MSQ_PASS --admin-password $ADMIN_PASS" - if [ "$FRAPPE_BRANCH" == "develop" ]; then - run_cmd sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER/frappe-bench && bench install-app erpnext" - else - run_cmd sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER/frappe-bench && bench frappe --install_app erpnext" - run_cmd sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER/frappe-bench && bench frappe --install_app shopping_cart" - fi + run_cmd sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER/frappe-bench && bench install-app erpnext" run_cmd bash -c "cd /home/$FRAPPE_USER/frappe-bench && bench setup sudoers $FRAPPE_USER" if $SETUP_PROD; then run_cmd bash -c "cd /home/$FRAPPE_USER/frappe-bench && bench setup production $FRAPPE_USER"