Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
/ dryad Public archive
forked from CDLUC3/dashv2

Codebase for the collaboration of Dryad and Dash data publication and curation services.

License

Notifications You must be signed in to change notification settings

CDL-Dryad/dryad

 
 

Repository files navigation

🚫 dryad repository deprecated

🚫 Please see dryad-app repository instead of this one

The dryad-app repository combines the former dryad and stash repositories into one repository.

All new commits, pull requests and activity should happen against the dryad-app repository instead of this repository since it consolidates what was really one application into one place and simplifies management and maintenance.

previous information below

Dryad

Build Status

Introduction

Dryad is the UC Curation Center's implementation of the Stash application framework for research data publication and preservation, based on the DataCite Metadata Schema and the University of California’s Merritt repository service.

Development

Installation

See Dryad Installation for installation notes.

Quick Cheat Sheet

Development environment setup

At the same level as the dashv2 directory:

  • Clone the Stash repository (public):

    git clone https://github.com/CDL-Dryad/stash.git
    
  • Clone the dryad-config repository (private to CDL developers):

    git clone git@github.com:cdlib/dryad-config.git
    
  • Symlink configuration files from dryad-config into the dryad config directory:

    ./symlink_config.sh
    

Running integration/feature tests locally

In the dryad directory:

  • run travis-prep.sh
  • run bundle exec rake

Capistrano deployment

To deploy the latest (committed) code from GitHub:

bundle exec cap <environment> deploy [BRANCH="<branch-or-tag-name>"]

The $BRANCH environment variable is optional; if it’s omitted, the deploy script will prompt you.

Miscellaneous tasks

  • The rake app_data:clear task will clear most database and SOLR data. It can be useful to run before testing data import and transformation from our previous version of the app. It will not erase data in the production environment or until it gets confirmation that you really want to erase the data.

    bundle exec rake app_data:clear RAILS_ENV=<rails-environment>
    

About

Codebase for the collaboration of Dryad and Dash data publication and curation services.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 94.1%
  • HTML 4.5%
  • Other 1.4%