2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-14 00:54:07 +00:00
frappe_docker/images/worker/install-app.sh
Lev ca9761585a
Remove git reference from install-app (#742)
* Remove git reference from install-app
Also fixed issue with missing sites/assets folder

* Update custom app guide according to changes

* Ignore apps that have no frontend code instead of failing
2022-03-30 12:09:09 +03:00

14 lines
155 B
Bash
Executable File

#!/bin/bash
set -e
set -x
APP=$1
cd /home/frappe/frappe-bench
rm -rf "apps/$APP/.git"
env/bin/pip install -e "apps/$APP"
echo "$APP" >>sites/apps.txt