bench frappe —latest
bench update
Above command updates all the Apps which we installed including erpnext, frappe, shopping cart and any custom App which is installed.
Is there any command to update only one custom App.?
bench frappe —latest
bench update
Above command updates all the Apps which we installed including erpnext, frappe, shopping cart and any custom App which is installed.
Is there any command to update only one custom App.?
I think you have to run git pull origin head
command manually from inside the specific app directory. Then you have to run bench frappe --latest
command.
bench frappe —latest
this showing following log
Running
latest for
site1.local--------------------------------------------------Updating
frappe : [========================================]
Updating erpnext : [========================================]
Updating shopping_cart : [========================================]
Updating farmer_portal : [========================================]
Importing
/home/efpl/frappe-bench/apps/farmer_portal/farmer_portal/fixtures/custom_field.csvImporting
/home/efpl/frappe-bench/apps/farmer_portal/farmer_portal/fixtures/property_setter.csv
Wrote ./assets/js/frappe-web.min.js - 90k
Wrote ./assets/js/shopping-cart-web.min.js - 1k
Wrote ./assets/js/print_format_v3.min.js - 18k
Wrote ./assets/js/erpnext.min.js - 15k
Wrote ./assets/css/frappe.css - 224k
Wrote ./assets/css/frappe-web.css - 163k
Wrote ./assets/css/shopping-cart-web.css - 0k
Wrote ./assets/js/editor.min.js - 27k
Wrote ./assets/css/erpnext.css - 0k
Wrote ./assets/js/frappe.min.js - 608k
Wrote ./assets/js/erpnext-web.min.js - 0k
Wrote ./assets/js/slickgrid.min.js - 102k
Wrote ./assets/js/canvasResize.min.js - 22k_____________________________________
This works fine, but my requirement is I want to update only farmer_portal.
In different Virtual Machine I have setup different apps, and I don’t want to update all app for testing purpose
The “Updating” message you see here is for doctype syncing from the code. It’s harmless as it doesn’t pull code for that.
You have to specifically go into the app’s folder and do a git pull
and then go back to your bench and do a bench build
and then a bench migrate
. If you’re on production, also do bench restart