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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
*.csv
|
||||
.vagrant/
|
||||
|
||||
7
.rubocop.yml
Normal file
7
.rubocop.yml
Normal file
@@ -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
|
||||
=======
|
||||
|
||||
|
||||
15
Vagrantfile
vendored
Normal file
15
Vagrantfile
vendored
Normal 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
|
||||
Reference in New Issue
Block a user