Use live drush variable, add line about getting files from live site
This commit is contained in:
parent
e1ab8eb3f5
commit
b7b746b42b
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,8 @@ To be able to import the configuration, you need to get the initializing databas
|
|||
```
|
||||
vagrant ssh
|
||||
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
|
||||
|
@ -34,7 +35,7 @@ git pull
|
|||
git submodule update --recursive --remote
|
||||
vagrant ssh
|
||||
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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue