Samvera application for library-owned content
Switch branches/tags
Clone or download
Latest commit ce41fca Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub issue and pull request templates Jan 30, 2018
app Merge pull request #508 from uclibs/feature/auto_populate_proxy Nov 20, 2018
bin Update ruby version in rubocop.yml May 30, 2018
config handle slashes in paths for riiif Nov 20, 2018
db Implement Change Manager from Scholar Oct 5, 2018
lib Merge pull request #314 from uclibs/increase-coverage Jul 30, 2018
log Use Hyrax 9c822c4f960de3b86a4fe6f0ac5d3d4edb24628f Jan 15, 2018
public Merge pull request #430 from uclibs/feature/#425-error-pages Sep 27, 2018
script Make needed changes for server deploys Nov 13, 2018
solr Port over Scholar's collection boost in search results May 23, 2018
spec Merge pull request #508 from uclibs/feature/auto_populate_proxy Nov 20, 2018
vendor/assets Port over license values from scholar 3 Sep 11, 2018
.coveralls.yml Add .coveralls.yml Feb 2, 2018
.env.development Make needed changes for server deploys Nov 13, 2018
.env.test Make needed changes for server deploys Nov 13, 2018
.fcrepo_wrapper Use Hyrax 9c822c4f960de3b86a4fe6f0ac5d3d4edb24628f Jan 15, 2018
.gitignore Make needed changes for server deploys Nov 13, 2018
.rspec Use Hyrax 9c822c4f960de3b86a4fe6f0ac5d3d4edb24628f Jan 15, 2018
.rubocop.yml get original filename for box files Nov 8, 2018
.ruby-gemset update to ruby 2.5 and add gemset Feb 1, 2018
.ruby-version Update ruby to version 2.5.3 Oct 30, 2018
.solr_wrapper Use Hyrax 9c822c4f960de3b86a4fe6f0ac5d3d4edb24628f Jan 15, 2018
.solr_wrapper.yml Use Hyrax 9c822c4f960de3b86a4fe6f0ac5d3d4edb24628f Jan 15, 2018
.travis.yml update travis rvm version and remove phantomjs Nov 16, 2018
CHANGELOG.md Update CHANGELOG for 0.6.0 Aug 2, 2018
Gemfile Merge pull request #491 from uclibs/chore/#433-server-deploy-changes Nov 16, 2018
Gemfile.lock Merge pull request #491 from uclibs/chore/#433-server-deploy-changes Nov 16, 2018
LICENSE.txt Add LICENSE Mar 10, 2018
README.md Change ucrate to scholar@uc Sep 13, 2018
Rakefile Update ruby version in rubocop.yml May 30, 2018
config.ru Update ruby version in rubocop.yml May 30, 2018

README.md

Scholar@UC

Installing the Scholar application

Install system dependencies

***Our Hyrax 2.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/ucrate.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/ucrate/)
  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. Install bundler (if needed): gem install bundler
  5. Run bundler: bundle install
  6. Start fedora: fcrepo_wrapper -p 8984
  7. Start solr: solr_wrapper -d solr/config/ --collection_name hydra-development
  8. Start redis: redis-server
  9. Run the database migrations: bundle exec rake db:migrate
  10. Start the rails server: rails server
  11. Visit the site at [http://localhost:3000] (http://localhost:3000)
  12. Create default admin set: bin/rails hyrax:default_admin_set:create
  13. Load workflows: bin/rails hyrax:workflow:load
    • Creating default admin set should also load the default workflow. You can load, any additional workflows defined, using this command.
  14. Assigning admin role to user from rails console:
    • admin = Role.create(name: "admin")
    • admin.users << User.find_by_user_key( "your_admin_users_email@fake.email.org" )
    • admin.save
    • Read more.

Running the Tests

  1. Start fedora: fcrepo_wrapper -p 8986
  2. Start solr: solr_wrapper -d solr/config/ --collection_name hydra-test -p 8985
  3. Start redis: redis-server
  4. Run the database migrations: bundle exec rake db:migrate (Optional)
  5. Run the test suite: bundle exec rake spec

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