2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 10:38:58 +00:00

Merge pull request #227 from maheshk2k/patch-1

Update branch version while installing app
This commit is contained in:
Revant Nandgaonkar 2020-05-03 13:07:52 +05:30 committed by GitHub
commit 6ecf077f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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:
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.
To install custom app
```shell
bench get-app myapp https://github.com/myusername/myapp.git
# --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 --site mysite.localhost install-app myapp
```
For example, to install ERPNext (from the master branch):
To install ERPNext (from the version-12 branch):
```shell
bench get-app 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
```
Note: Both frappe and erpnext must be on branch with same name. e.g. version-12
### Start Frappe without debugging