ucsdlib / dams5-cc-pilot

A repository for doing shared R&D on CurationConcerns for the Development team.
MIT License
0 stars 0 forks source link

dams5-cc-pilot

A repository for doing shared R&D on CurationConcerns for the Development team.

Note This repository will be used for R&D Development spikes only. It is not intended to be used as the new DAMS5 Digital Collections codebase.

Prerequisites

The following software are required:

  1. Solr
  2. Fedora Commons digital repository
  3. A SQL RDBMS (MySQL, PostgreSQL), though note that SQLite will be used by default if you're looking to get up and running quickly.
  4. Redis, a key-value store. The redlock gem requires Redis >= 2.6.
  5. ImageMagick with JPEG-2000 support.
  6. LibreOffice
  7. FITS version 0.8.5.
  8. FFMPEG

Please visit Curation Concerns for installation guide.

Check out DAMSPAS from GIT

  1. Clone Project: git clone https://github.com/ucsdlib/dams5-cc-pilot
  2. Open Project: cd dams5-cc-pilot
  3. Install gems: bundle install
  4. Update DB: bundle exec rake db:migrate

Running Tests

# Start the test servers
rake hydra:test_server

Or do it in the following steps:

solr_wrapper -p 8985 -d solr/config/ --collection_name hydra-test

# in another window
fcrepo_wrapper -p 8986 --no-jms
# run the test suits
bundle exec rake spec

Running dams5-cc-pilot (demo only)

rake hydra:test_server

Or do it in the following steps:

solr_wrapper -p 8983 -d solr/config/ --collection_name hydra-development

# in another window
fcrepo_wrapper -p 8984 --no-jms

# and in another window
rails s

Go to http://localhost:3000/ and register to start

Import sample Authority records (demo only)

bin/import-authorities