acurley
10/22/2013 - 1:41 PM

Install Sufia on Windows

Install Sufia on Windows

set PATH=%PATH%;C:\RailsInstaller\Ruby1.9.3\bin
(echo gem: --no-ri --no-rdoc) > c:\ProgramData\gemrc

Install mini-magick

  • Download .zip archive of latest version from Github
  • Save to R:
  • rake install
R:\minimagick-master\pkg>gem install mini_magick-3.6.0.gem --install-dir R:\sufia_demo\.bundle\ruby\1.9.1

Github Issue until new version is released

Install gems local to application

Because Windows has problems with gems being installed on different drives than the app, we should install the gems local to the app.

bundle install --path .bundle

Install hydra-jetty

  • Download projecthydra/hydra-jetty archive to sufia-demo/tmp
  • Rename v5.2.0.zip
  • run rake jetty:unzip

Start jetty

cd sufia_demo/jetty
START /MIN java -Djetty.port=8983 -Dsolr.solr.home=R:/sufia_demo/jetty/solr -XX:MaxPermSize=128m -Xmx256m -XX:InitialHeapSize=256m -XX:MaxHeapSize=256m -jar start.jar