Skip to content

Instantly share code, notes, and snippets.

  1. SSH into staging instance and cd into current deployment
    cd ~/nyu_geoblacklight/current
    
  2. Clear out previous/prod nyu.edu records in local folder if already cloned
    mkdir -p tmp/opengeometadata && rm -rf tmp/opengeometadata/edu.nyu/
    
  3. OPTIONAL!!: Clear out live SOLR index to get a clean slate (see: https://stackoverflow.com/questions/23228727/deleting-solr-documents-from-solr-admin); you might want to do this if NYU records have been removed from the repo or if non-NYU records were previously indexed to stage for testing and now you want them cleared out of the way.
  4. Clone records from staging repo where sdr-cli will expect NYU records