2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 14:50:58 +00:00

fix: development README

info related to branches of apps
[ci-skip]
This commit is contained in:
Revant Nandgaonkar 2020-05-03 13:03:23 +05:30
parent ff73540ada
commit 28ea4671e8

View File

@ -116,20 +116,24 @@ bench --site mysite.localhost clear-cache
To install an app we need to fetch it from the appropriate git repo, then install in on the appropriate site: To install an app we need to fetch it from the appropriate git repo, then install in on the appropriate site:
You can check [VSCode container remote extension documentation](https://code.visualstudio.com/docs/remote/containers#_sharing-git-credentials-with-your-container) regarding git creedential sharing. You can check [VSCode container remote extension documentation](https://code.visualstudio.com/docs/remote/containers#_sharing-git-credentials-with-your-container) regarding git credential sharing.
Both frappe and erpnext must be on branch with same name. e.g. version-12
To install custom app
```shell ```shell
# --branch is optional, use it to point to branch on custom app repository
bench get-app --branch version-12 myapp https://github.com/myusername/myapp.git bench get-app --branch version-12 myapp https://github.com/myusername/myapp.git
bench --site mysite.localhost install-app myapp bench --site mysite.localhost install-app myapp
``` ```
For example, to install ERPNext (from the master branch): To install ERPNext (from the version-12 branch):
Both frappe and erpnext must be on branch with same name. e.g. version-12
```shell ```shell
bench get-app --branch version-12 erpnext https://github.com/frappe/erpnext.git bench get-app --branch version-12 erpnext https://github.com/frappe/erpnext.git
bench --site mysite.localhost install-app erpnext bench --site mysite.localhost install-app erpnext
``` ```
Note: Both frappe and erpnext must be on branch with same name. e.g. version-12
### Start Frappe without debugging ### Start Frappe without debugging