-
Notifications
You must be signed in to change notification settings - Fork 24
Sufia Work Flow
Initial Draft
- git clone [email protected]:psu-stewardship/sufia.git
- cd sufia
- git remote add upstream git://github.com/projecthydra/sufia.git
- rake jetty:clean
- rake jetty:config
-
git pull upstream master (Could we add a step here for pinning a Gemfile.lock)
-
bundle install
-
rake jetty:start (you can only have one jetty running so if scholarsphere is running jetty stop it there)
-
rake clean spec
-
git push origin master
-
git checkout -b "my branch"
-
edit scholarsphere Gemfile to point to local sufia
gem 'sufia', :path => '../sufia'
-
Make your changes
-
verify change in scholarsphere
-
rake spec (run a single test by using: RAILS_ROOT=spec/internal rspec test) (in sufia)
-
rspec ( in scholarsphere)
-
commit changes to branch and push to origin (git push origin SCM-xxxx)
-
on https://github.com/psu-stewardship/sufia send pull request
-
wait for the pull request to be merged (or update Gemfile to point to psustewardship)
-
update scholarsphere gemfile to point to your new sufia release/ commit in curationexperts