Permalink
Browse files

Add support for vagrant

Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  • Loading branch information...
scanf committed Apr 4, 2017
1 parent 0f06933 commit 7f25a9f8facb4df8af3aeefa64d0d3d672497416
Showing with 23 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +8 −0 Makefile
  3. +13 −0 Vagrantfile
View
@@ -59,3 +59,5 @@ typings/
*.swp
.vagrant
View
@@ -38,3 +38,11 @@ ttd:
update-package-info:
scripts/gen-package-meta > package.json
vps:
VBoxManage list runningvms
vbox:
-vagrant destroy
vagrant up --provider=virtualbox
vtt:
vagrant reload
vagrant ssh
View
@@ -0,0 +1,13 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "fedora/25-cloud-base"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provision "shell", inline: <<-SHELL
curl https://get.docker.com | bash
dnf install -y make tmux
usermod -a -G docker vagrant
systemctl enable docker
reboot
SHELL
end

0 comments on commit 7f25a9f

Please sign in to comment.