frappe_docker/build/common/worker/install_app.sh
Revant Nandgaonkar f5071122ed fix: erpnext image build
improve travis.py
python packages not installed in editable mode
use venv module instead of virtualenv
2020-06-28 05:55:15 +05:30

16 lines
294 B
Bash
Executable File

#!/bin/bash
APP_NAME=${1}
APP_REPO=${2}
APP_BRANCH=${3}
cd /home/frappe/frappe-bench/
. env/bin/activate
cd ./apps
[ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}"
git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH}
pip3 install --no-cache-dir /home/frappe/frappe-bench/apps/${APP_NAME}