I followed this guide and set up the dev container, created dcode.com site, installed erpnext successfully.
frappe_docker/docs/development.md at main · frappe/frappe_docker
But how to update the devcontainer?
I followed this guide and set up the dev container, created dcode.com site, installed erpnext successfully.
frappe_docker/docs/development.md at main · frappe/frappe_docker
But how to update the devcontainer?
This applies for your development env.
bench update
. command will pull latest apps and update the python env / node_modules. This is enough for most of the times. You can do this for the lifecycle of one specific version. e.g. verison-15. Keep on updating with bench update
.devcontainer/docker-compose.yml
file with the version tags you need to update and rebuild the devcontainer.Note:
If you pull frappe/bench:latest
and it has python and node version updates, your existing setup may stop working. Following should fix it.
# remove existing env
mv env env-bkp
# setup new env
bench setup env
# setup nodejs and python dependencies
bench setup requirements
Another recommendation is to clone frappe_docker into project name instead of frappe_docker itself. Check this TLDR Quickstart Frappe Development · castlecraft/custom_containers Wiki · GitHub