-
Notifications
You must be signed in to change notification settings - Fork 94
Deploying a New Version to Prod
Ted Benson edited this page Jan 9, 2015
·
3 revisions
To update the HEAD:
ssh simile-widgets.org
cd /var/www/api.simile-widgets.org/repos
./deploy-exhibit.sh
Note: you have to ssh into simile-widgets.org from the MIT network in my experience. I usually just SSH in to login.csail.mit.edu
and hop over from there. Not sure what the actual rules are. [eob]
To deploy a new version:
First burn a new tag and push it to github
git tag -a <tagname> -m 'my new version'
git push origin --tags
Then on simile-widgets.org:
cd /code/exhibit3-repos-do-not-remove
git clone <exhibit-url> <tagname>
cd <tagname>
git checkout tags/<tagname>
Then do all the ant build mumbo jumbo
ant clean
and bundle
ant dist
ant demos
Then make a symlink from the web directory
cd /var/www/api.simile-widgets.org/htdocs/exhibit
ln -s <PATH_TO_REPO> <VERSION_NUMBER>
And that's it! :-)