Add Vagrantfile.

This commit is contained in:
James Valleroy 2016-05-04 19:15:43 -04:00 committed by Sunil Mohan Adapa
parent 69a7f847aa
commit eed0babb13
No known key found for this signature in database
GPG Key ID: 36C361440C9BC971
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ dist/
.coverage
plinth/tests/coverage/report/
*.mo
.vagrant/

13
Vagrantfile vendored Normal file
View File

@ -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