File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -179,12 +179,7 @@ starter_dev: generate-secrets
179
179
production : init
180
180
$(MAKE ) compose-up
181
181
docker compose exec -T drupal with-contenv bash -lc ' composer install; chown -R nginx:nginx .'
182
- $(MAKE ) drupal-database update-settings-php
183
- 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) '"
184
- docker compose exec -T drupal with-contenv bash -lc " drush -l $( SITE) user:role:add fedoraadmin admin"
185
- MIGRATE_IMPORT_USER_OPTION=--userid=1 $(MAKE ) hydrate
186
- docker compose exec -T drupal with-contenv bash -lc ' drush -l $(SITE) migrate:import --userid=1 islandora_fits_tags'
187
- $(MAKE ) login
182
+ $(MAKE ) starter-finalize ENVIRONMENT=starter
188
183
189
184
190
185
# ############################################
@@ -581,7 +576,10 @@ starter-finalize:
581
576
docker compose exec -T drupal with-contenv bash -lc ' chown -R nginx:nginx . ; echo "Chown Complete"'
582
577
$(MAKE ) drupal-database update-settings-php
583
578
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) '"
579
+ docker compose exec -T drupal with-contenv bash -lc " drush cr"
584
580
docker compose exec -T drupal with-contenv bash -lc " drush -l $( SITE) user:role:add fedoraadmin admin"
581
+ @echo " Checking if Solr's healthy"
582
+ docker compose exec -T solr bash -c ' curl -s http://localhost:8983/solr/admin/info/system?wt=json' | jq -r .lucene || (echo " Solr is not healthy, waiting 10 seconds." && sleep 10)
585
583
MIGRATE_IMPORT_USER_OPTION=--userid=1 $(MAKE ) hydrate
586
584
docker compose exec -T drupal with-contenv bash -lc ' drush -l $(SITE) migrate:import --userid=1 --tag=islandora'
587
585
$(MAKE ) login
You can’t perform that action at this time.
0 commit comments