From 357ac05d6b566ce21123300127d2f38dab29a043 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Fri, 18 Aug 2017 09:24:34 +0200 Subject: Add C++ dev environment on CentOS using VirtualBox and Vagrant. --- vagrant/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 vagrant/README.md (limited to 'vagrant/README.md') diff --git a/vagrant/README.md b/vagrant/README.md new file mode 100644 index 00000000000..4c65fe666ab --- /dev/null +++ b/vagrant/README.md @@ -0,0 +1,24 @@ + +# Create C++ dev environment on CentOS using VirtualBox and Vagrant + +## Prerequisites +* [Install VirtualBox](https://www.virtualbox.org/wiki/Downloads) +* [Install Vagrant](https://www.vagrantup.com/downloads.html) + +## Create dev environment + +### Change working directory to /vagrant + cd /vagrant + +### Start and provision the environment + vagrant up + +### Connect to machine via SSH +SSH agent forwarding is enabled to ensure easy interaction with GitHub inside the machine. + + vagrant ssh + +### Checkout vespa source inside machine +This is needed in order to compile and run tests fast on the local file system inside the machine. + + git clone git@github.com:vespa-engine/vespa.git -- cgit v1.2.3