Skip to content

Commit

Permalink
Revert "Bootstrap the Ur-APO"
Browse files Browse the repository at this point in the history
This reverts commit ea6ce21.

While this is a nice to have, it's not critical. We can do this with a `docker-compose web exec` instead.
  • Loading branch information
jcoyne committed Mar 20, 2021
1 parent 98a71e0 commit a2be88a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker/invoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a2be88a

Please sign in to comment.