This documentation needs a new home along with Version Control. The two can probably be merged with some thought.
The developers should follow this process for ending a sprint:
Not ideal but this is what I've been doing - Chris
login as root on pine.dlib.indiana.edu cd /srv/atlassian/bamboo/bamboo-4.3-data/xml-data/build-dir/VOV-HYDRANT-DEPLOYLANCELOT rvm use ruby-2.1.4 export SCM_BRANCH=develop export RAILS_ENV=development export AVALON_REINDEX=true #might not actually care what's set here, but that it's there. HOSTS=mallorn.dlib.indiana.edu cap deploy
This shouldn't be run at ever end of sprint, but when we get close to testing, this may be needed.
Log into mallorn as the avalon user.
cd /var/www/avalon/current bundle exec script/rails c ActiveFedora::Base.delete_all #ActiveFedora::Base.destroy_all doesn't work as well. #Clear solr content curl http://localhost:8983/solr/avalon/update?commit=true -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>' #Login as root, Delete files rm -rf /var/avalon/rtmp_streams/* rm -rf /var/avalon/hls_streams/*
After the content is cleaned up, reinstall the sample content.