Skip to content

Instantly share code, notes, and snippets.

@jklein
Last active July 20, 2016 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jklein/8654137 to your computer and use it in GitHub Desktop.
Save jklein/8654137 to your computer and use it in GitHub Desktop.
XHGui VagrantFile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "xhgui"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "https://dl.dropboxusercontent.com/u/3249984/vagrant_boxes/xhprof.box"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
config.vm.network :forwarded_port, guest: 80, host: 8080
# Wordpress is at: http://localhost:8080/wordpress/
# XHGui is at: http://localhost:8080/xhgui-0.3.0/webroot/
end
@cmnajs
Copy link

cmnajs commented Jul 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment