diff options
author | 2018-02-19 23:13:36 +0100 | |
---|---|---|
committer | 2018-02-19 22:13:36 +0000 | |
commit | d9317acf26babbc1aa31c234c83db138f9475596 (patch) | |
tree | 015bfb91bc69625851c90760aac28d70eb57c8d9 /Vagrantfile | |
parent | Readme (#23) (diff) |
Add Vagrantfile
* attempt to fix stacktrace when initialising logger
* adds vagrantfile for local development
* restart rethinkdb after setting config
* fix source .profile
* adds alias python=python3.6
* include more reminder of what to add in hosts file
* also install snekchek in vm
* update vagrant bootstrap script to properly include environment variables in bashrc
Diffstat (limited to '')
-rw-r--r-- | Vagrantfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..deb6d019 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,24 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.define "pddev" do |dev| + dev.vm.box = "ubuntu/xenial64" + dev.vm.host_name = "pddev" + dev.vm.network :private_network, ip: "10.1.0.2" + config.vm.provider :virtualbox do |vb| + vb.customize ["modifyvm", :id, "--memory", "2048"] + vb.customize ["modifyvm", :id, "--ioapic", "on"] + vb.customize ["modifyvm", :id, "--cpus", "2"] + vb.linked_clone = true + config.vm.synced_folder ".", "/vagrant", + type: "virtualbox", + mount_options: ["dmode=775,fmode=775"] + end + config.vm.provision "shell", path: "Vagrant_bootstrap.sh" + end + +end |