Manually run bulk Hyrax Uploads
Step-by-step guide
Create a spreadsheet for the objects you want to upload using the templates in \\Lincoln\Library\ESPYderivatives\templates
Place the .TSV spreadsheets you wish to upload in \\Lincoln\Library\ESPYderivatives\import
Place the files listed in the spreadsheet in \\Lincoln\Library\ESPYderivatives\files
Use ssh to log on: ssh railsprod
Switch to railsuser with:
sudo -u railsuser bash
Change directory in to Hyrax:
cd /var/www/hyrax-UAlbany
Test that all import files are correct by running:
rake import:check
To Import, run:
rake import:sheet
to import in background (recommended), run:
nohup rake import:sheet >> /media/Library/ESPYDerivatives/log/myLogFile.log 2>&1 &
Monitor the background jobs at https://archives.albany.edu/sidekiq/ (requires Hyrax login)