Last active
August 29, 2015 14:10
-
-
Save pgwillia/7be750bb843736a4d049 to your computer and use it in GitHub Desktop.
take Sufia for a spin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh -x | |
yum install -y sqlite-devel | |
rm -Rf sufia | |
git clone https://github.com/projecthydra/sufia.git | |
cd sufia | |
git checkout -t origin/v6.1.0 | |
service redis_6379 restart | |
rm -Rf spec/internal # removes any existing test app | |
bundle update | |
killall java # kill any running jetties | |
bundle exec rake jetty:clean # downloads and unpacks hydra-jetty from tmp/master.zip | |
bundle exec rake sufia:jetty:config # extra solr configuration | |
bundle exec rake jetty:start | |
bundle exec rake engine_cart:generate # builds new test app at spec/internal | |
sed -i '/# config.fits_path = "fits.sh"/c\ config.fits_path = "fits"' spec/internal/config/initializers/sufia.rb | |
bundle update sass-rails | |
bundle exec rspec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment