Blacklight
Blacklight is an open source Solr user interface discovery platform. You can use Blacklight to enable searching and browsing of your collections. Blacklight uses the Apache Solr search engine to search full text and/or metadata. Blacklight has a highly configurable Ruby on Rails front-end. Blacklight was originally developed at the University of Virginia Library and is made public under an Apache 2.0 license.
Installation
Add Blacklight to your Gemfile:
gem "blacklight"Run the install generator which will copy over some initial templates, migrations, routes, and configuration:
rails generate blacklight:installDocumentation, Information and Support
- Project Homepage
- Developer Documentation
- Quickstart Guide
- Testing and Developing Blacklight
- Issue Tracker
- Support
Dependencies
- Ruby 2.2+
- Bundler
- Rails 5.1+
Contributing Code
Code contributions are always welcome, instructions for contributing can be found at CONTRIBUTING.md.
Configuring Apache Solr
You'll also want some information about how Blacklight expects Apache Solr to run, which you can find in README_SOLR
Building the javascript
The javascript is built by npm from sources in app/javascript into a bundle
in app/assets/javascripts/blacklight/blacklight.js. This file should not be edited
by hand as any changes would be overwritten. When any of the javascript
components in the gem are changed, this bundle should be rebuild with the
following steps:
- Install npm
- run
npm installto download dependencies - run
npm run js-compile-bundleto build the bundle - run
npm publishto push the javascript package to https://npmjs.org/package/blacklight-frontend
Using the javascript
Blacklight ships with Javascript that can be compiled either by Webpacker or by Sprockets. To use Webpacker see the directions at https://github.com/projectblacklight/blacklight/wiki/Using-Webpacker-to-compile-javascript-assets
If you prefer to use Sprockets, simply run the install generator, which will run the assets generator. For details see https://github.com/projectblacklight/blacklight/wiki/Using-Sprockets-to-compile-javascript-assets

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


