blprnt / loc

Library of Congress Residency 2017-2018
25 stars 5 forks source link

download-data #1

Closed edsu closed 6 years ago

edsu commented 6 years ago

I added a npm command to download the marcxml data from the LC website:

npm run download-data

This will use wget to download the book marcxml data to the data directory using the list of urls in the data/urls.txt file.

I noticed you have your data elsewhere so you can override the local data directory using the DATA_DIR environment variable:

DATA_DIR=/Users/jerthorp/Desktop/LOC_Residency/MARC_Files/Books npm run start