add and implement install_app for worker image
This commit is contained in:
13
build/common/worker/install_app.sh
Executable file
13
build/common/worker/install_app.sh
Executable 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
|
||||
Reference in New Issue
Block a user