Skip to content

Commit

Permalink
Enable valkyrie and disable noid in new application config
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce committed Feb 22, 2024
1 parent 53b0060 commit 069bb98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/generators/hyrax/templates/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ DATABASE_URL=postgresql://postgres@localhost:5437/hyrax-dev?pool=5
FCREPO_URL=http://fedoraAdmin:fedoraAdmin@fcrepo:8989/fcrepo/rest
FITS_SERVLET_URL=http://localhost:8085/fits
HYRAX_ACTIVE_JOB_QUEUE=async
HYRAX_SKIP_WINGS=true
HYRAX_VALKYRIE=true
REDIS_URL=redis://localhost:6384
SOLR_URL=http://localhost:8988/solr/hyrax-dev
VALKYRIE_METADATA_ADAPTER=pg_metadata
Expand Down
6 changes: 5 additions & 1 deletion lib/generators/hyrax/templates/config/initializers/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

# Hyrax uses NOIDs for files and collections instead of Fedora UUIDs
# where NOID = 10-character string and UUID = 32-character string w/ hyphens
# config.enable_noids = true
config.enable_noids = false

# Template for your repository's NOID IDs
# config.noid_template = ".reeddeeddk"
Expand Down Expand Up @@ -274,6 +274,10 @@
# Hyrax::Indexers::PcdmObjectIndexer(model_class)
# end

## Enable Valkyrie only mode
config.use_valkyrie = true
config.disable_wings true

# When your application is ready to use the valkyrie index instead of the one
# maintained by active fedora, you will need to set this to true. You will
# also need to update your Blacklight configuration.
Expand Down

0 comments on commit 069bb98

Please sign in to comment.