From eed0babb13b68cfb3f045c9e1acaca7d5a65053c Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 4 May 2016 19:15:43 -0400 Subject: [PATCH] Add Vagrantfile. --- .gitignore | 1 + Vagrantfile | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 660fef8a9..1a5b3f588 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ dist/ .coverage plinth/tests/coverage/report/ *.mo +.vagrant/ diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 000000000..786545fe2 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,13 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : +Vagrant.configure(2) do |config| + config.vm.box = "jvalleroy/plinth-dev" + config.vm.network "forwarded_port", guest: 443, host: 4430 + config.vm.provision "shell", inline: <<-SHELL + cp -R /vagrant /home/vagrant/plinth + cd /home/vagrant/plinth + python3 setup.py install + systemctl daemon-reload + systemctl restart plinth + SHELL +end