add and implement install_app for worker image

This commit is contained in:
chabad360
2020-03-04 02:52:36 +00:00
parent 97ec097870
commit 177ca58af6
7 changed files with 25 additions and 126 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
APP_NAME=${1}
APP_REPO=${2}
cd /home/frappe/frappe-bench/
. env/bin/activate
cd apps
git clone --depth 1 -o upstream ${APP_REPO}
pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/APP_NAME