Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Sufia Work Flow

cam156 edited this page Dec 1, 2014 · 29 revisions

Initial Draft

Once

  1. git clone [email protected]:psu-stewardship/sufia.git
  2. cd sufia
  3. git remote add upstream git://github.com/projecthydra/sufia.git
  4. rake jetty:clean
  5. rake jetty:config

Before each update

  1. git pull upstream master (Could we add a step here for pinning a Gemfile.lock)

  2. bundle install

  3. rake jetty:start (you can only have one jetty running so if scholarsphere is running jetty stop it there)

  4. rake clean spec

  5. git push origin master

  6. git checkout -b "my branch"

  7. edit scholarsphere Gemfile to point to local sufia gem 'sufia', :path => '../sufia'

  8. Make your changes

  9. verify change in scholarsphere

  10. rake spec (run a single test by using: RAILS_ROOT=spec/internal rspec test) (in sufia)

  11. rspec ( in scholarsphere)

  12. commit changes to branch and push to origin (git push origin SCM-xxxx)

  13. on https://github.com/psu-stewardship/sufia send pull request

  14. wait for the pull request to be merged (or update Gemfile to point to psustewardship)

  15. update scholarsphere gemfile to point to your new sufia release/ commit in curationexperts

Clone this wiki locally