diff --git a/README.md b/README.md index 28acfabf..48ec13ea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,19 @@ This is the development evironment for my farm_agrikern drupal module +# HOW TO UPDATE DEV INSTANCE WITH LIVE DATA: + cp -r farmOS-dev farmOS-dev-old + cd farmOS-dev + git stash + git pull + git stash pop + git status + git checkout --theirs web/sites/default/files/db.sqlite + git add web/sites/default/files/db.sqlite + git stash drop + git submodule update --recursive + install and enable all modules that were installed after commit9655aee9f334964c923d7c3abdbd3ee6ca817f37: farm_plant + composer require drupal/devel_entity_updates + vendor/bin/drush en devel_entity_updates + vendor/bin/drush entup # IMPORTANT: Always delete all entities and uninstall module before creating a commit! # Host site locally