DTU Digital Library search interface
Ruby HTML JavaScript Gherkin CSS Shell
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
features
integration_test_scripts
jetty
lib
log
public
script
spec
vagrant
vendor
.gitignore
.hound.yml
.rails_footnotes
.rspec
.ruby-style.yml
.ruby-version
.simplecov
Capfile
Dockerfile
Gemfile
Gemfile.lock
MIT-LICENSE
Procfile
README.md
Rakefile
config.ru
test.sh

README.md

Toshokan

Toshokan is a search interface application based on Ruby on Rails and Blacklight, and is being developed at the Technical Information Center of Denmark.

See http://findit.dtu.dk

Toshokan means library in japanese.

Requirements

Using ruby 2.1.4. If you're using RVM, you might have to install using rvm install 2.1.4 --disable-binary to avoid errors with certificates.

Test Data

To index test data from metastore, run

$ rake metastore:testdata:index

Testing

Jetty is included in the git repository, so you don't need to install it.

If you haven't indexed the test data, do that:

$ rake metastore:testdata:index

Then migrate the database and run the tests

$ rake db:migrate
$ rake db:seed
$ rake db:test:prepare
$ rake

Use rake instead of rake spec because there are both RSpec tests and Cucumber tests.