University of Cincinnati's self-submission institutional repository
Ruby HTML XSLT JavaScript CSS Shell Perl
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
app
bin
config
db
lib
log
public
script
solr/config
spec
test
vendor/assets
.coveralls.yml
.fcrepo_wrapper
.gitignore
.rspec
.rubocop.yml
.rubocop_todo.yml
.ruby-gemset
.ruby-version
.solr_wrapper
.travis.yml
CHANGELOG.md
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
TEST-SCRIPT.md
config.ru

README.md

Scholar@UC

Scholar@UC is a digital repository that enables the University of Cincinnati community to share its research and scholarly work with a worldwide audience. Faculty and staff can use Scholar@UC to collect their work in one location and create a durable and citeable record of their papers, presentations, publications, datasets, or other scholarly creations.

Scholar@UC uses Samvera's Hyrax gem. The source for UC's Hyrax-based app can be found at https://github.com/uclibs/scholar_uc

The Univeristy of Cincinnati's implementation of Scholar@UC can be found at https://scholar.uc.edu.

Installing the Scholar@UC application

Option #1: Run Scholar@UC in your local Rails environment

Install system dependencies

***Our Hyrax 7.x based app requires the following software to work:

  • Solr version >= 5.x (tested up to 6.2.0)
  • Fedora Commons digital repository version >= 4.5.1 (tested up to 4.6.0)
  • A SQL RDBMS (MySQL, PostgreSQL), though note that SQLite will be used by default if you're looking to get up and running quickly
    • libmysqlclient-dev (if running MySQL as RDBMS)
    • libsqlite3-dev (if running SQLite as RDBMS)
  • Redis, a key-value store
  • ImageMagick with JPEG-2000 support
  • FITS version 0.8.x (0.8.5 is known to be good)
  • LibreOffice
  1. Clone this repository: git clone https://github.com/uclibs/scholar_uc.git ./path/to/local
    • Note: Solr will not run properly if there are spaces in any of the directory names above it
      (e.g. /user/my apps/scholar_uc/)
  2. Change to the application's directory: e.g. cd ./path/to/local
  3. Make sure you are on the develop branch: git checkout develop
  4. Copy the sample files: script/copy_config_local.sh
  5. Install bundler (if needed): gem install bundler
  6. Run bundler: bundle install
  7. Start fedora: fcrepo_wrapper -p 8984
  8. Start solr: solr_wrapper -d solr/config/ --collection_name hydra-development
  9. Start redis: redis-server
  10. Run the database migrations: bundle exec rake db:migrate
  11. Start the rails server: rails server
  12. Visit the site at [http://localhost:3000] (http://localhost:3000)

Running the Tests

bundle exec rake spec

Need Help?

Have a question or comment about Scholar@UC? Contact scholar@uc.edu.

Application Status

Build Status

Project Samvera

This software has been developed by and is brought to you by the Samvera community. Learn more at the Samvera website

Samvera Logo