Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.3 KB

README.textile

File metadata and controls

67 lines (47 loc) · 1.3 KB

Hydrangea

Hydrangea at Hull

Introduction and Installation Instructions

Hydra project at the University of Hull.

git checkout git@github.com:uohull/hyhull.git

change the current directory to “hyhull”

Install hydra-jetty (this may take several minutes):

git submodule init
git submodule update

Install the dependencies by running:

bundle install

Migrate the database

rake db:migrate

Seed the database with the pre-defined Repo roles (contentAccessTeam, staff, student etc..)

rake db:seed

Configure jetty:

rake hydra:jetty:config:all

Then start jetty:

rake jetty:start

Load some sample data:

rake hull:default_fixtures:refresh

Start the webserver

rails server

You should now be able to see the application at: http://localhost:3000/

Testing

The quickest way to test is to run this task

rake hull:hudson

If you prefer a more manual approach, start by loading fixtures:

rake hull:default_fixtures:refresh RAILS_ENV=test

Migrate the database

rake db:test:prepare

Then you can run specs:

rake spec

And cucumber features:

rake cucumber