Basic Raybeam Vagrant Box
This is a very basic Vagrant box developed as a foundation for Raybeam projects. It includes:
- ruby 2.0
- postgres + header files
- mysql + header files
This box is far from complete. Please raise issues with things you'd like to see or, better yet, add it yourself and create a pull request.
Spin up the box
Copying to your project
You can just copy the Vagrantfile to the root of your project and make a few changes described in the Configuration section below
A very basic configuration is already available. You could actually just work off of that, but the things you'll probably want to change are:
###The VM name
['modifyvm', :id, '--name', 'rb_base']
###The shared directory location on the VM
config.vm.share_folder 'vshared', '/bi/rb_base', '.', :extra => 'dmode=770,fmode=770'
###Change the provisioning instructions See setup.sh below for more info. If you're copying to your own project, you can delete the provision line or point it to some custom shell setup you have. Switch to chef-solo if you want, I don't care, it's your stupid project. Geez!
Default: setup.sh shell provisioner
config.vm.provision :shell, :path => 'setup.sh'
This is a really simple shell provisioner for this box. It's instructions for how this box was built from a blank lucid32 box. It's set not to take a bunch of time installing things that are already there, but you actually don't need it at all.
You should really just delete the entire setup.sh file and use it to add libraries or configurations that you need. You could also just do away with the shell provisioning line in the Vagrantfile altogether and switch to chef-solo or something.
- Clone this
- If you make changes to the setup.sh file, make sure you've tested it
- Make sure installations that take a long time don't run if they're already present
- Create a pull request
- Once I've built the VM and uploaded it, I'll merge the pull request