From dd263a6f3895ef5053cdb834a36227e80131f372 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 29 Oct 2020 12:13:10 +0000 Subject: [PATCH] Split install and refresh commands --- .ddev/commands/web/app | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ddev/commands/web/app b/.ddev/commands/web/app index 4fa5e1f..0af2539 100755 --- a/.ddev/commands/web/app +++ b/.ddev/commands/web/app @@ -11,11 +11,16 @@ if [ $# -eq 0 ] ; then fi case $1 in - install|refresh) + install) drush site:install -y --account-pass=admin123 --existing-config drush user:login ;; + refresh) + drush config-import -y + drush cache-rebuild + ;; + *) echo "Invalid argument: $1" ;;