Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (34 loc) · 864 Bytes

QUICKSTART.md

File metadata and controls

41 lines (34 loc) · 864 Bytes

Europeana Blacklight Quick Start Guide

Install Rails 4

gem install rails
rails -v
# Rails 4.2.5

Create a new Rails application

rails new culture_vulture
cd culture_vulture

Bundle europeana-blacklight

Add to the Gemfile:

gem 'europeana-blacklight', '~> 0.3', '< 0.4'

Get a Europeana API key

From http://labs.europeana.eu/api/

Install Blacklight with the Europeana API adapter

bundle install
bundle exec rails generate blacklight:install --devise
# This will ask if you want to overwrite some files; just say yes in a new app.
bundle exec rails generate europeana:blacklight:install YOUR_API_KEY
bundle exec rake db:migrate

Customise the config

Review the generated CatalogController and adjust the default configuration to your preferences.

Start the application

bundle exec rails server