codefordc/ancfinder — pull request #113 by JKesMc9tqIQe9M (2014-09-26 17:16:13+00:00)
Title: Added Vagrantfile as per issue #108

Take a look at what's under the 'vagrant' dir. In the end I didn't go the inline shell script route for provisioning because of some problems with permissions -- Vagrant runs those inline commands as root, and getting the right combination of su's and sudo's to then end up with files with the correct permissions was turning out to be a pain.

So I went with the 'file' provisioning, where Vagrant sticks a pre-defined file in the new vm upon provisioning, and then you ssh in and run this file once (it then gets removed) as the vagrant user. Seems to work. Please see the README I added and see if the steps make sense. Thanks!