From 49154d91124449a1dc7b74190f50809e0331f197 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 22 Apr 2017 13:28:12 +0300 Subject: [PATCH] added Vagrantfile for testing --- Vagrantfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Vagrantfile diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..611e2af --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,22 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.provider "virtualbox" do |vb| + vb.memory = 1024 + end + config.vm.define :ubuntu do |box| + box.vm.box = "bento/ubuntu-16.04" + box.vm.host_name = 'ubuntu.local' + box.vm.network "private_network", ip: "192.168.50.10" + + box.vm.synced_folder ".", "/srv/steam" + box.vm.synced_folder "../dota2-python", "/srv/dota2" + box.vm.synced_folder "../csgo-python", "/srv/csgo" + + box.vm.provision "shell", inline: <<-SHELL + apt-get -y install build-essential libssl-dev libffi-dev python-dev + apt-get -y install python-pip python-virtualenv + SHELL + end +end