File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11#! bin/bash
22
3+ echo " Building Devcontainer from branch: "
4+ branch_name=$( git rev-parse --abbrev-ref HEAD)
5+ echo $branch_name
6+
37set -e
48
59if [[ -f " /workspaces/beam/frappe-bench/apps/frappe" ]]
@@ -37,11 +41,12 @@ sed -i '/redis/d' ./Procfile
3741bench new-site dev.localhost --mariadb-root-password 123 --admin-password admin --no-mariadb-socket
3842
3943bench get-app erpnext --branch version-15
40- bench get-app https://github.com/agritheory/beam --branch version-15
44+ bench get-app hrms --branch version-15
45+ bench get-app https://github.com/agritheory/beam --branch $branch_name
4146
42- bench --site dev.localhost install-app erpnext beam
47+ bench --site dev.localhost install-app erpnext hrms beam
4348bench --site dev.localhost set-config developer_mode 1
4449bench --site dev.localhost clear-cache
4550bench use dev.localhost
4651
47- bench build && bench clear-cache
52+ bench build && bench clear-cache
You can’t perform that action at this time.
0 commit comments