diff options
author | Joris Roovers <jroovers@cisco.com> | 2015-09-02 13:18:52 -0700 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2015-09-02 13:18:52 -0700 |
commit | ef164b13985a0dd134228e10d894817209575c99 (patch) | |
tree | ef08ca74fd359671e27e23c1e49ed5c58ec8af8c /Vagrantfile | |
parent | 765a4427f80ccdda61bc78e2680bda14787b2a4e (diff) |
Initial commit
- setup.py
- travis integration
- README
- Vagrantfile
- run_tests.sh
- gitignore
- requirements.txt
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..0ad753e --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,24 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +VAGRANTFILE_API_VERSION = "2" + +INSTALL_DEPS=<<EOF +sudo apt-get update +sudo apt-get install -y python-pip python-virtualenv git ipython +cd /vagrant +virtualenv .venv +source .venv/bin/active +pip install -r requirements.txt +pip install -r test-requirements.txt +EOF + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.box = "ubuntu/trusty64" + + config.vm.define "dev" do |dev| + dev.vm.provision "shell", inline: " echo 'cd /vagrant' >> /home/vagrant/.bashrc && #{INSTALL_DEPS}" + end + +end |