Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

WGBH-MLA/phydo_forked

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPOSITORY HAS MOVED

New location: WGBH-MLA/phydo

This repository started as a fork of IUBLibTech/phydo, but due to divergent concerns, we decided to detach it for easier maintenance.

Build Status Coverage Status

Phydo

A Hydra app that focuses on Digital Asset Management functions.

Dependencies

Phydo has the following dependencies that you must install yourself.

  1. Ruby >= 2.3.0
  2. Java 1.8
  3. Redis server

Development Setup

NOTE: All commands after Step 1 should be run from where ever your code is located.

  1. Clone the repository

    cd path/to/wherever/you/want/your/code/to/live
    git clone https://github.com/IUBLibTech/phydo.git
  2. Install gems

    bundle install
  3. Migrate the database

    rake db:migrate
  4. From a new terminal window, start the development Solr instance using the solr_wrapper gem

    bundle exec solr_wrapper --config .solr_wrapper.development.yml

    NOTE: Solr will continue to run as long as the process in the terminal window is running. Closing the terminal window will stop Solr, unless you've explicitly told it to run in the background. Ctrl+C will stop Solr without closing the terminal window. Press Ctrl+C only once, and allow SolrWrapper to exit.

  5. From a new terminal window, start the development Fedora instance using the fcrepo_wrapper gem

    bundle exec fcrepo_wrapper --config .fcrepo_wrapper.development.yml

    NOTE: Fedora will continue to run as long as the process in the terminal window is running. Closing the terminal window will stop Fedora, unless you've explicitly told it to run in the background. Ctrl+C will stop Fedora without closing the terminal window.

  6. Start Redis server from a separate terminal window.

    # From a dedicated terminal window...
    redis-server

    NOTE: Redis server will continue to run as long as the process in the terminal window is running. Closing the terminal window will stop Redis server, unless you've explicitly told it to run in the background. Ctrl+C will stop Redis server without closing the terminal window.

  7. From a new terminal window, start the Rails server.

    rake rails s

    NOTE: The Rails server will continue to run as long as the process in the terminal window is running. Closing the terminal window will stop the Rails server, unless you've explicitly told it to run in the background. Ctrl+C will stop Rails server without closing the terminal window.

  8. Verify Rails is working by opening http://localhost:3000 in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.0%
  • XSLT 12.5%
  • HTML 9.5%
  • Other 1.0%