Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit 439ab45

Browse files
committed
Add vagrant box to enable development on Windows
1 parent abd98c2 commit 439ab45

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414
# Ignore all logfiles and tempfiles.
1515
/log/*.log
1616
/tmp
17+
18+
# Do not commit local vagrant metadata
19+
/.vagrant

Vagrantfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5+
VAGRANTFILE_API_VERSION = "2"
6+
7+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8+
# All Vagrant configuration is done here. The most common configuration
9+
# options are documented and commented below. For a complete reference,
10+
# please see the online documentation at vagrantup.com.
11+
12+
config.vm.box = "puppetlabs/debian-7.4-64-nocm"
13+
14+
config.vm.network "forwarded_port", guest: 3000, host: 3000
15+
16+
config.vm.provider "virtualbox" do |vb|
17+
vb.customize ["modifyvm", :id, "--memory", "1024"]
18+
vb.customize ["modifyvm", :id, "--cpus", "2"]
19+
end
20+
21+
config.vm.provision "shell", path: "vagrant/setup.sh"
22+
end

vagrant/setup.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
chsh -s /bin/bash vagrant
4+
5+
aptitude update
6+
7+
aptitude -y full-upgrade
8+
9+
aptitude -y install ruby bundler build-essential libsqlite3-dev

0 commit comments

Comments
 (0)