Added a Vagrantfile for development

Didn't want to dirty my system with ruby and fpm.  Have a clean vagrant
to do development against.
This commit is contained in:
John Dewey 2014-05-31 14:54:59 -07:00
parent 8badba0e55
commit fe63f100ed
4 changed files with 30 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
AUTHORS
ChangeLog
*.csv
.vagrant/

7
.rubocop.yml Normal file
View File

@ -0,0 +1,7 @@
AllCops:
Include:
- ./**/*.rb
- Vagrantfile
WordArray:
MinSize: 3

View File

@ -10,8 +10,15 @@ Usage
Dependencies
============
* `Vagrant`
* `fpm`
Development
===========
$ git clone git@github.com:cloudcadre/giftwrap.git
$ vagrant up
Testing
=======

15
Vagrantfile vendored Normal file
View File

@ -0,0 +1,15 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
config.vm.box = 'hashicorp/precise64'
config.vm.provision 'shell', inline: <<-EOF
apt-get update
apt-get install build-essential ruby1.9.1-dev -y
gem install --no-ri --no-rdoc fpm
EOF
config.vm.define 'giftwrap' do |c|
c.vm.host_name = 'giftwrap'
end
end