Last active
March 3, 2016 02:40
-
-
Save thom8/6a98ecca269cd2db107b to your computer and use it in GitHub Desktop.
Wordpress Beetbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this Vagrantfile to an empty directory and run vagrant up -- http://beetbox.rtfd.org | |
require 'open-uri' | |
require 'fileutils' | |
cwd = File.dirname(File.expand_path(__FILE__)) | |
lconfig = "#{cwd}/.beetbox/config.yml" | |
FileUtils::mkdir_p "#{cwd}/.beetbox" | |
open(lconfig, 'wb') << open("https://gist.githubusercontent.com/thom8/4e01f75e0be7b71f05b9/raw/config.yml").read unless File.exist?(lconfig) | |
eval(open("https://raw.githubusercontent.com/beetboxvm/beetbox/master/Vagrantfile") {|f| f.read }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment