2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Update custom-apps.md (#1344)

* Update custom-apps.md

made document clear to insert custom app to build and  resolved error -
"url": "https://user:password@git.example.com/project/repository.git",
to "url": "https://{{ PAT }}@git.example.com/project/repository.git",

* docs: remove comments from shell commands

---------

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
This commit is contained in:
Malay Gondalia 2024-02-29 20:59:32 +05:30 committed by GitHub
parent 955a3b0b65
commit ede911af0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,10 +20,11 @@ export APPS_JSON='[
"branch": "version-15" "branch": "version-15"
}, },
{ {
"url": "https://user:password@git.example.com/project/repository.git", "url": "https://{{ PAT }}@git.example.com/project/repository.git",
"branch": "main" "branch": "main"
} }
]' ]'
export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0) export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0)
``` ```
@ -35,7 +36,7 @@ export APPS_JSON_BASE64=$(base64 -w 0 /path/to/apps.json)
Note: Note:
- `url` needs to be http(s) git url with token/auth in case of private repo. - `url` needs to be http(s) git url with personal access tokens without username eg:- http://{{PAT}}@github.com/project/repository.git in case of private repo.
- add dependencies manually in `apps.json` e.g. add `payments` if you are installing `erpnext` - add dependencies manually in `apps.json` e.g. add `payments` if you are installing `erpnext`
- use fork repo or branch for ERPNext in case you need to use your fork or test a PR. - use fork repo or branch for ERPNext in case you need to use your fork or test a PR.