From c63f0462185f52a5e75f8a3f174c0ac57a68c354 Mon Sep 17 00:00:00 2001 From: matze Date: Sat, 21 Dec 2024 16:12:23 +0100 Subject: [PATCH] update readme with live update info --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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