Convert MARC21 XML data into Bibframe2 RDF, using converter from Library of Congress, available at https://github.com/lcnetdev/marc2bibframe2
-
An XSLT processor, such as
xsltproc
from libxslt -
Library of Congress Marc to bibframe2 converter, installed at loc_marc2bibframe directory:
git clone https://github.com/lcnetdev/marc2bibframe2.git loc_marc2bibframe2
./bin/marcxml_to_bf2_test.sh {MARC XML FILE}
e.g.
./bin/marcxml_to_bf2_test.sh ./data/MarcXML/one_record.xml
Capistrano is used for deployment.
-
On your laptop, run
bundle
to install the Ruby capistrano gems and other dependencies for deployment.
-
Deploy code to remote VM:
cap dev deploy
-
Run a test conversion to ensure it works on remote VM:
cap dev deploy:test_one_record