Fix typo, use short ddev exec, add all sync steps for future dev
This commit is contained in:
parent
f03dda0372
commit
b21153a64a
1 changed files with 12 additions and 3 deletions
|
@ -97,9 +97,18 @@ Drutopia releases will expect the configuration in `$project_root/config/sync`.
|
|||
$settings['config_sync_directory'] = '../config/sync';
|
||||
```
|
||||
|
||||
Once you also have a working Drush installation and a live instance, you can then acuire and export the initial configuration with:
|
||||
Once you also have a working Drush installation and a live instance, you can then aquire and export the initial configuration with:
|
||||
|
||||
```
|
||||
ddev exec drush sql-sync @live @self
|
||||
ddev exec drush cex -y
|
||||
ddev . drush sql-sync @live @self
|
||||
ddev . drush -y cex
|
||||
```
|
||||
|
||||
Similarly, you can get live data and files down to your local development environment any time with:
|
||||
|
||||
```
|
||||
ddev . drush -y sql-dump > data/paranoia.sql
|
||||
ddev . drush -y sql-drop
|
||||
ddev . drush -y sql-sync @live @self
|
||||
ddev . drush -y rsync @live:%files @self:%files
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue