From a2be88a6e67c679381ee95de9be55b738ff6931b Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Fri, 19 Mar 2021 22:46:30 -0500 Subject: [PATCH] Revert "Bootstrap the Ur-APO" This reverts commit ea6ce21165c38bbd180357dc830ee9a839c7614b. While this is a nice to have, it's not critical. We can do this with a `docker-compose web exec` instead. --- docker/invoke.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker/invoke.sh b/docker/invoke.sh index 5f2f21ef6..17455c88e 100755 --- a/docker/invoke.sh +++ b/docker/invoke.sh @@ -22,9 +22,5 @@ set -e echo "Migrating db" bin/rails db:migrate -# Create the Ur-APO ('druid:hv992ry2431') and ensure it's in Solr. -# We can't use the remote indexing service because it depends on dor-services-app being up. -bin/rails runner "Dor::AdminPolicyObject.create!(pid: 'druid:hv992ry2431', label: 'Ur-Apo'); ActiveFedora::SolrService.add(id: 'druid:hv992ry2431', has_model_ssim: 'info:fedora/afmodel:Dor_AdminPolicyObject'); ActiveFedora::SolrService.commit" - echo "Running server" exec bin/puma -C config/puma.rb config.ru