mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
Merge pull request #383 from everyx/fix/install-app-name
fix: install app failed when APP_NAME is not same as the one containe…
This commit is contained in:
commit
47d7003a28
@ -12,5 +12,5 @@ cd ./apps
|
||||
|
||||
[ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}"
|
||||
|
||||
git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH}
|
||||
git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH} ${APP_NAME}
|
||||
pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/${APP_NAME}
|
@ -15,7 +15,7 @@ install_packages git python2
|
||||
mkdir -p apps
|
||||
cd apps
|
||||
git clone --depth 1 https://github.com/frappe/frappe ${BRANCH}
|
||||
git clone --depth 1 ${APP_REPO} ${BRANCH}
|
||||
git clone --depth 1 ${APP_REPO} ${BRANCH} ${APP_NAME}
|
||||
|
||||
cd /home/frappe/frappe-bench/apps/frappe
|
||||
yarn
|
||||
|
Loading…
Reference in New Issue
Block a user