Bench get-app/install-app with local app folder

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

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

@amex, Is there any solution from this ?

This might help

@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