Use live drush variable, add line about getting files from live site

This commit is contained in:
Clayton Dewey 2018-12-28 14:22:20 -07:00
parent e1ab8eb3f5
commit b7b746b42b

View file

@ -24,7 +24,8 @@ To be able to import the configuration, you need to get the initializing databas
``` ```
vagrant ssh vagrant ssh
composer install composer install
drush -y sql-dump > /tmp/paranoia.sql && drush sql-drop && drush -y sql-sync @test @self && drush -y updb drush -y sql-dump > /tmp/paranoia.sql && drush sql-drop && drush -y sql-sync @live @self && drush -y updb
drush -y rsync @live:%files @self:%files
``` ```
### Get updates ### Get updates
@ -34,7 +35,7 @@ git pull
git submodule update --recursive --remote git submodule update --recursive --remote
vagrant ssh vagrant ssh
composer install composer install
drush -y sql-dump > /tmp/paranoia.sql && drush sql-drop && drush -y sql-sync @test @self && drush -y updb drush -y sql-dump > /tmp/paranoia.sql && drush sql-drop && drush -y sql-sync @live @self && drush -y updb
drush cim -y drush cim -y
``` ```