Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Installing Authorities

Adam Wead edited this page Oct 25, 2016 · 1 revision

Scholarsphere uses the Questioning Authority (QA) gem to load authority terms into local databases. These terms are then queried when the user enters metadata into fields for languages and subjects.

To load these terms into your local environment, you can use the included fixture files that are part of the testing suite. You can also load files downloaded from loc.gov, but they are quite large and take a long time to load.

Installing Languages and Subjects

bundle exec rake scholarsphere:harvest:lc_subjects[spec/fixtures/loc_subjects_snippet.rdfxml.skos]
bundle exec rake scholarsphere:harvest:lc_subjects[spec/fixtures/lexvo_snippet.rdf]
Clone this wiki locally