Skip to content

CDL-Dryad/dryad-app

main
Switch branches/tags
Code

Latest commit

 

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

More detailed documentation is available in the documentation folder

Installation

See Dryad Installation for installation notes.

Quick Cheat Sheet

Running integration/feature tests locally

In the dryad-app directory:

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

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 rails 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 rails app_data:clear RAILS_ENV=<rails-environment>