Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Rake Tasks in Hydra Head

jcoyne edited this page · 3 revisions
Clone this wiki locally

This guide is known to work with hydra-head version 6.0.0.
Please update this wiki to reflect any other versions that have been tested.

Getting info about the rake tasks from the command line

rake -T

To narrow down the output, use grep. For example:

rake -T | grep hy

hydra:jetty Tasks

Prerequisite: You must have the following lines in your Gemfile

gem 'hydra-head'
gem 'jettywrapper'

The main tasks: load, start, stop

  rake hydra:jetty:load                 # Copies the default SOLR config files and starts up the fedora instance.
  rake jetty:start                      # Starts the bundled Hydra Testing Server
  rake jetty:stop                       # Stops the bundled Hydra Testing Server

Subtasks: config, config_fedora, config_solr

  rake hydra:jetty:config               # Copies the default Solr & Fedora configs into the bundled Hydra Testing Server
  rake hydra:jetty:config_fedora        # Copies a custom fedora config for the bundled Hydra Testing Server
  rake hydra:jetty:config_solr          # Copies the default SOLR config for the bundled Hydra Testing Server
Something went wrong with that request. Please try again.