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.
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
- 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/)
- Note: Solr will not run properly if there are spaces in any of the directory names above it
- Change to the application's directory: e.g.
cd ./path/to/local
- Make sure you are on the develop branch:
git checkout develop
- Copy the sample files:
script/copy_config_local.sh
- Install bundler (if needed):
gem install bundler
- Run bundler:
bundle install
- Start fedora:
fcrepo_wrapper -p 8984
- Start solr:
solr_wrapper -d solr/config/ --collection_name hydra-development
- Start redis:
redis-server
- Run the database migrations:
bundle exec rake db:migrate
- Start the rails server:
rails server
- Visit the site at [http://localhost:3000] (http://localhost:3000)
bundle exec rake spec
Have a question or comment about Scholar@UC? Contact scholar@uc.edu.
This software has been developed by and is brought to you by the Samvera community. Learn more at the Samvera website