amex
June 27, 2016, 1:42am
1
Continuing the discussion from Use bench get-app with local repository instead of remote repository :
Hi, I have a local folder that contains application code. It is not a git repository.
I would like to do the following (in frappe-bench as working directory):
bench get-app myapp <path-to-local-folder>
bench --site site1.local install-app myapp
However, the bench get-app command syntax requires a GIT_URL. Is there anyway to get an app from a local folder?
thanks!
1 Like
sagar
June 27, 2016, 5:10am
2
Hi @amex ,
please try this
prashant(sysytem_username)@192.168.5.15 (IP of that syatem):/home/prashant/workspace/square1/frappe-bench/apps/erpnext(path of that app)
Thanks
@amex ,
please check Git - The Protocols to clone local repo.
Thanks, Makarand
jcyh
July 7, 2017, 8:57am
4
@amex , Is there any solution from this ?
jk_09
July 8, 2024, 7:27am
6
@amex
try this
bench get-app file:///‘path to your custom app"ex. home/dev/frappe-bench/app/custome-app"’
To use a local repo, the only thing that worked for me was to use the --soft-link
option, and use a normal file path (NOT file://
):
bench get-app--resolve-deps /workspace/my_app --soft-link