From 1d81172378ac2b79b1f769502ca2d0eecc52b613 Mon Sep 17 00:00:00 2001 From: joshdentremont Date: Wed, 12 Jul 2023 14:12:51 -0300 Subject: [PATCH] Update make production added commands to create drupal database and modify settings.php before running drush site install --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 8f09b22b3..3feb00f1a 100644 --- a/Makefile +++ b/Makefile @@ -198,6 +198,7 @@ production: generate-secrets $(MAKE) pull docker compose up -d --remove-orphans docker compose exec -T drupal with-contenv bash -lc 'composer install; chown -R nginx:nginx .' + $(MAKE) drupal-database update-settings-php docker compose exec -T drupal with-contenv bash -lc "drush si -y --existing-config minimal --account-pass '$(shell cat secrets/live/DRUPAL_DEFAULT_ACCOUNT_PASSWORD)'" docker compose exec -T drupal with-contenv bash -lc "drush -l $(SITE) user:role:add fedoraadmin admin" MIGRATE_IMPORT_USER_OPTION=--userid=1 $(MAKE) hydrate