Skip to content
Codebase for the collaboration of Dryad and Dash data publication and curation services.
Ruby HTML Other
Branch: master
Clone or download
Pull request Compare This branch is 726 commits ahead, 9 commits behind CDLUC3:master.
ryscher Merge pull request #164 from CDL-Dryad/async-form
Test for an asynchronous download while using a sharing link
Latest commit e3c7d36 Oct 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update TOS Sep 30, 2019
bin Remove spring May 24, 2018
config Trying to get capybara tests to no stall out. Sep 18, 2019
db fixing deployment issues wtih database migrations May 20, 2019
documentation added production environment entityID Aug 28, 2019
dryad-config-example Adding chunk size for overage Aug 29, 2019
lib fixed rubocop Aug 12, 2019
log initial commit Mar 6, 2015
public added cagtriona's pic to governanace page Sep 16, 2019
script I'm adding additional rake task for just clearing datasets from the d… Jun 4, 2019
spec rubocop. Oct 11, 2019
.generators Lock thor to 0.19.1 to suppress warnings related to erikhuda/thor#538 May 2, 2017
.gitignore fixing deployment issues wtih database migrations May 20, 2019
.rubocop.yml updating rubocop to ignore docs directory Mar 14, 2019
.ruby-version Use 2.4.1 Aug 3, 2017
.simplecov Clean up extra whitespace, deprecation warnings, etc. Jul 7, 2017
.travis.yml Merge of master and fixes for chrome 74 problems and update to webdri… May 8, 2019
Capfile Initial commits for capistrano deployment. Sep 18, 2015
Gemfile adding rb-readline to see if it will fix missing library Aug 23, 2019
Gemfile.lock Stripe problems in tests, should have in gemfile and gemspec, probably. Aug 30, 2019
LICENSE.md MIT License. Jun 9, 2016
README.md commiting a blank line to see if tests will run correctly Oct 8, 2019
Rakefile rubocop May 3, 2019
config.ru initial commit Mar 6, 2015
copy_logos.sh copying logos to the public directory so they are available without c… Mar 7, 2017
release_notes.md whitespace change to trigger travis Aug 31, 2018
symlink_config.sh make sure localhost.yml is a tenant, if it's been overwritten Aug 25, 2018
travis-prep.sh don't run a command with error Aug 29, 2018

README.md

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>
    
You can’t perform that action at this time.