mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
Merge pull request #424 from revant/fix-erpnext-nginx-dependencies
fix(erpnext-nginx): install erpnext or custom app dependencies
This commit is contained in:
commit
b7f19e0bbe
@ -15,9 +15,20 @@ cd apps
|
||||
git clone --depth 1 https://github.com/frappe/frappe ${BRANCH}
|
||||
git clone --depth 1 ${APP_REPO} ${BRANCH} ${APP_NAME}
|
||||
|
||||
echo "Install frappe NodeJS dependencies . . ."
|
||||
cd /home/frappe/frappe-bench/apps/frappe
|
||||
yarn
|
||||
echo "Install ${APP_NAME} NodeJS dependencies . . ."
|
||||
cd /home/frappe/frappe-bench/apps/${APP_NAME}
|
||||
yarn
|
||||
echo "Build browser assets . . ."
|
||||
cd /home/frappe/frappe-bench/apps/frappe
|
||||
yarn production --app ${APP_NAME}
|
||||
echo "Install frappe NodeJS production dependencies . . ."
|
||||
cd /home/frappe/frappe-bench/apps/frappe
|
||||
yarn install --production=true
|
||||
echo "Install ${APP_NAME} NodeJS production dependencies . . ."
|
||||
cd /home/frappe/frappe-bench/apps/${APP_NAME}
|
||||
yarn install --production=true
|
||||
|
||||
mkdir -p /home/frappe/frappe-bench/sites/assets/${APP_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user