Skip to content
A Rails engine wrapper to include the Princeton University Library branded Universal Viewer
JavaScript Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
public/universalviewer
spec
.bowerrc
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
bower.json
pul_uv_rails.gemspec

README.md

PulUvRails

A Rails engine wrapper to include the Princeton University Library branded Universal Viewer.

Installation

Add this line to your application's Gemfile:

gem 'pul_uv_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pul_uv_rails

Update

Steps for updating the included Universal Viewer

  1. Make sure you have npm and bower installed: https://bower.io/

  2. Insert a reference to the latest tagged version of the Princeton branded viwer in bower.json.

  3. Update using bower:

    $ bower update
    
  4. Commit the changes and tag pul_uv_rails with the updated version.

Edit Viewer Style

  1. Make changes to the less files in the PUL Universal Viewer theme.

  2. Rebuild the viewer library:

    $ grunt build
    
  3. Commit changes to the viewer and tag.

You can’t perform that action at this time.