diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-25 13:16:47 -0700 |
---|---|---|
committer | Graham Bloice <graham.bloice@trihedral.com> | 2015-06-25 20:30:11 +0000 |
commit | 4b1f364168a558200b43cb39c85596e0fc73700b (patch) | |
tree | 1487383c1b92a378a92795b6886ca8d7e374d649 /doc/README.vagrant | |
parent | 5bc38611fdb9b497be2dae23b1b16bbf44097717 (diff) |
Basic vagrant readme
Change-Id: Iad77ad54e5a810bde35af076c5e9b91c43405b77
Reviewed-on: https://code.wireshark.org/review/9149
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'doc/README.vagrant')
-rw-r--r-- | doc/README.vagrant | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/README.vagrant b/doc/README.vagrant new file mode 100644 index 0000000000..57feabced3 --- /dev/null +++ b/doc/README.vagrant @@ -0,0 +1,31 @@ +1. Introduction + +Vagrant is a virtual machine management program that makes it trivial to build +and configure reproducible virtual machines. Wireshark comes with a Vagrantfile +which will set up a complete Ubuntu development environment in a virtual +machine, including all necessary compilers, dependent libraries, and tools like +valgrind. + +Using vagrant can greatly simplify setup for new developers, at the cost of +running your builds in a virtual machine, thus with reduced performance. + +2. Installation + +Vagrant requires VirtualBox to be installed, as that is the backing virtual +machine technology it uses. Install it first from https://www.virtualbox.org/. + +Now install vagrant itself from https://www.vagrantup.com/. + +3. Setup + +With virtualbox and vagrant installed, setting up your VM is as simple as +running `vagrant provision` in the wireshark source directory. This will +download, install and configure a complete Ubuntu development environment. It +will also mount the Wireshark source directory into the VM, and run an +out-of-tree cmake build into the ~/build directory of the VM. + +4. Usage + +Running `vagrant ssh` from the wireshark source directory will put your shell +into the VM. Running `make` inside the `~/build` directory of the VM will +build wireshark based on whatever is in your source tree. |