From ede911af0aa5b720ba6a5b673f5a51efb0f3a90b Mon Sep 17 00:00:00 2001 From: Malay Gondalia <134581231+malay-gondalia@users.noreply.github.com> Date: Thu, 29 Feb 2024 20:59:32 +0530 Subject: [PATCH] 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 --- docs/custom-apps.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/custom-apps.md b/docs/custom-apps.md index c2cb6f85..9d31c6bb 100644 --- a/docs/custom-apps.md +++ b/docs/custom-apps.md @@ -20,10 +20,11 @@ export APPS_JSON='[ "branch": "version-15" }, { - "url": "https://user:password@git.example.com/project/repository.git", + "url": "https://{{ PAT }}@git.example.com/project/repository.git", "branch": "main" } ]' + 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: -- `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` - use fork repo or branch for ERPNext in case you need to use your fork or test a PR.