Skip to content

Instantly share code, notes, and snippets.

@thom8
Last active March 3, 2016 02:40
Show Gist options
  • Save thom8/6a98ecca269cd2db107b to your computer and use it in GitHub Desktop.
Save thom8/6a98ecca269cd2db107b to your computer and use it in GitHub Desktop.
Wordpress Beetbox
# 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