chore: Move files from build/common
This commit is contained in:
10
build/frappe-worker/install_app.sh
Executable file
10
build/frappe-worker/install_app.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
APP_NAME=${1}
|
||||
APP_REPO=${2}
|
||||
APP_BRANCH=${3}
|
||||
|
||||
[[ -n "${APP_BRANCH}" ]] && BRANCH="-b ${APP_BRANCH}"
|
||||
|
||||
git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH} /home/frappe/frappe-bench/apps/${APP_NAME}
|
||||
/home/frappe/frappe-bench/env/bin/pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/${APP_NAME}
|
||||
Reference in New Issue
Block a user