- SSH into staging instance and cd into current deployment
cd ~/nyu_geoblacklight/current
- Clear out nyu.edu records if already cloned
mkdir -p tmp/opengeometadata && rm -rf tmp/opengeometadata/edu.nyu/
- Clone records from staging repo where sdr-cli will expect NYU records
git clone https://github.com/NYU-DataServices/gis-metadata-staging tmp/opengeometadata/edu.nyu
- OPTIONAL!!!: clone other opengeometadata repos if you want to update/index those records too. (NOTE: It'll take forever)
bundle exec sdr-cli clone
- Index all JSON in the
tmp
directory to the solr atSOLR_STAGING_URL/IP
(look up herebundle exec sdr-cli index --directory='./tmp/opengeometadata' --solr_url='SOLR_STAGING_URL/IP:8983/solr/blacklight-core/'
Last active
May 1, 2024 20:42
-
-
Save mnyrop/d0278b8671fe916fc3e2801631d7b89d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment