tansaku/LocalSupport — pull request #135 by msmithnova (2013-12-04 04:59:38+00:00)
Title: LocalSupport setup script for Ubuntu 12.04 VM

This needs to be in the master branch so it can be run after cloning without additional commands. It handles changing to the develop branch during setup. There are command line options to skip certain sections in case the script needs to be rerun after failure or making a new clone. Most commands can be re-run without issue but one may want to skip creating or seeding the DB if that had been done previously. Also, the peer authentication fix would need to be skipped if that was done previously. Script exits when there is an error and also displays a completion message when done. Fully tested on my current VM setup as well a fresh VM made with my VM setup script. Designed to easily handle any unforseen errors by automatically exiting the script on an error, allowing the user to deal with the error and rerun the script, skipping any sections necessary.