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:
parent
8badba0e55
commit
fe63f100ed
|
@ -3,3 +3,4 @@
|
|||
AUTHORS
|
||||
ChangeLog
|
||||
*.csv
|
||||
.vagrant/
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
AllCops:
|
||||
Include:
|
||||
- ./**/*.rb
|
||||
- Vagrantfile
|
||||
|
||||
WordArray:
|
||||
MinSize: 3
|
|
@ -10,8 +10,15 @@ Usage
|
|||
Dependencies
|
||||
============
|
||||
|
||||
* `Vagrant`
|
||||
* `fpm`
|
||||
|
||||
Development
|
||||
===========
|
||||
|
||||
$ git clone git@github.com:cloudcadre/giftwrap.git
|
||||
$ vagrant up
|
||||
|
||||
Testing
|
||||
=======
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue