From b21153a64ac974696940a1e7a5cc79576da64206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Fri, 26 Jun 2020 08:02:12 -0400 Subject: [PATCH] Fix typo, use short ddev exec, add all sync steps for future dev --- creating-new-drutopia-site.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/creating-new-drutopia-site.md b/creating-new-drutopia-site.md index 8287a40..3f53c4d 100644 --- a/creating-new-drutopia-site.md +++ b/creating-new-drutopia-site.md @@ -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 ```