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
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue