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/
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