One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| require 'chef' | |
| Chef::Config.from_file(File.join(File.dirname(__FILE__), '.chef', 'knife.rb')) | |
| vms = { | |
| "testbox" => { | |
| :box => "precise64", | |
| :ipaddress => "192.168.33.10", |
| source :rubygems | |
| gem 'json', '= 1.5.4' # knife/chef 11.0 and 11.20 is broken with json 1.5.5/1.7.7 | |
| gem 'vagrant' | |
| gem 'vagrant-hostmaster' |
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |
| #!/bin/bash | |
| # A quick script to install Docker Engine and Compose | |
| # Run with sudo | |
| # Install Docker Engine | |
| curl -sSL https://get.docker.com/ | sh | |
| # Start Docker | |
| # TODO update to handle multiple distros | |
| service docker start |