update readme with live update info
This commit is contained in:
15
README.md
15
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
|
||||
|
||||
Reference in New Issue
Block a user