Sha256: 7e5f3b4bde3b4bd5f738930f5076aeec2fdd0941f8efbf1d6b86ce8651a7cf6c
Contents?: true
Size: 1.53 KB
Versions: 4
Compression:
Stored size: 1.53 KB
Contents
# Sufia ## Creating an application ### Generate base Rails install ```rails new my_app``` ### Add gems to Gemfile ``` gem 'blacklight' gem 'hydra-head' gem 'sufia' gem 'jettywrapper' gem 'font-awesome-sass-rails' ``` Then `bundle install` ### Run the blacklight, hydra and sufia generators ``` rails g blacklight --devise rails g hydra:head -f rails g sufia -f ``` ### Run the migrations ``` rake db:migrate ``` ### If you want to use the assets that ship with Sufia... #### add the following to application.css ``` *= require sufia ``` You'll want to ensure you're not loading the blacklight.css, so remove this line ```*= require_tree .``` #### Add the following to application.js ``` //= require sufia ``` ### Install Fits.sh http://code.google.com/p/fits/downloads/list ### Start background workers ``` COUNT=4 QUEUE=* rake environment resque:work ``` See https://github.com/defunkt/resque for more options ### If you want to enable transcoding of video, instal ffmpeg version 1.0+ #### On a mac Use homebrew: ``` brew install ffmpeg --with-libvpx --with-libvorbis ``` #### On Ubuntu Linux See https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide ## Developers: This information is for people who want to modify the engine itself, not an application that uses the engine: ### Create fixtures ``` # start jetty git submodule init && git submodule update rake jetty:config rake jetty:start # load sufia fixtures rake sufia:fixtures:create sufia:fixtures:generate rake fixtures # run the tests rake clean spec bundle exec cucumber features ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sufia-0.1.0 | README.md |
sufia-0.0.8 | README.md |
sufia-0.0.7 | README.md |
sufia-0.0.6 | README.md |