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

Commit

Permalink
Add vagrant box to enable development on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesy42 committed Oct 11, 2014
1 parent abd98c2 commit 439ab45
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

# Do not commit local vagrant metadata
/.vagrant
22 changes: 22 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.

config.vm.box = "puppetlabs/debian-7.4-64-nocm"

config.vm.network "forwarded_port", guest: 3000, host: 3000

config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end

config.vm.provision "shell", path: "vagrant/setup.sh"
end
9 changes: 9 additions & 0 deletions vagrant/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

chsh -s /bin/bash vagrant

aptitude update

aptitude -y full-upgrade

aptitude -y install ruby bundler build-essential libsqlite3-dev

0 comments on commit 439ab45

Please sign in to comment.