summaryrefslogtreecommitdiffstats
path: root/vagrant/README.md
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2017-08-18 09:24:34 +0200
committerGeir Storli <geirst@yahoo-inc.com>2017-08-18 09:24:34 +0200
commit357ac05d6b566ce21123300127d2f38dab29a043 (patch)
tree4d4cab61ed3f084cb846afa27c62a4f381acc0e9 /vagrant/README.md
parenta618787ba847eed7c30f6bd81256db8d39e5e2c4 (diff)
Add C++ dev environment on CentOS using VirtualBox and Vagrant.
Diffstat (limited to 'vagrant/README.md')
-rw-r--r--vagrant/README.md24
1 files changed, 24 insertions, 0 deletions
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 <vespa-source>/vagrant
+ cd <vespa-source>/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