Giter Site home page Giter Site logo

blacklight_dpla's Introduction

Blacklight DPLA

A quick start to a Blacklight application using some of the content from the DPLA Platform.

Usage

  1. Follow the Blacklight Quickstart guide up through step 5 (installing Solr under jetty).
  2. Update your Blacklight application's Gemfile with gem 'blacklight_dpla' and bundle install
  3. Run the generator rails g blacklight_dpla
  4. In a new terminal, start Solr cd jetty && java -jar start.jar
  5. Index some data using the rake task rake dpla:load_query["internet"]. In place of "internet" you can enter any keyword query.
  6. Start your new Blacklight-powered DPLA application rails s and visit the address it is started on (usually http://localhost:3000).

The indexing rake task can be run multiple times to pull in other data to you Blacklight app.

What the generator does

When you run rails g blacklight_dpla it does the following:

  1. Updates app/controllers/catalog_controller.rb with configuration for appropriate facets, show view values, and field list.
  2. Updates the Solr configuration so that all *_facet fields are stored by default.
  3. TODO: Updates app/views/catalog/_home_text.html.erb with help text.

Author

Jason Ronallo

Copyright

Copyright © 2012 North Carolina State University. See MIT-LICENSE for details.

blacklight_dpla's People

Contributors

jronallo avatar

Stargazers

Brad Czerniak avatar Nick Cappadona avatar Tod Robbins avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.