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

Updating Authorities

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

Authority files are kept in a shared directory so that each server environment may update to the same terms.

Loading Languages and Subjects

Please Note

  • Jobs servers don't need this update
  • Only one server of a load-balanced pair needs this update

As the deploy user, gain ssh access to the server you with to update.

cd scholarsphere/current
RAILS_ENV=production bundle exec rake scholarsphere:harvest:lexvo_languages[/dlt/scholarsphere/authorities/lexvo_latest.rdf]
RAILS_ENV=production bundle exec rake scholarsphere:harvest:lc_subjects[/dlt/scholarsphere/authorities/authoritiessubjects.rdfxml.skos]

Updating Terms

Place any updated files in /dlt/scholarsphere/authorities and use the same filename to keep the rake task syntax the same.

Subjects

A file of new terms can be download from http://id.loc.gov/download/. Use the link next to LC Subject Headings (SKOS/RDF only).

Languages

Go to http://www.lexvo.org/linkeddata/resources.html and download the latest RDF.

Clone this wiki locally