Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
/ vagrant Public archive
forked from ejholmes/vagrant-heroku

A Vagrant base box that closely mirrors the Celadon Cedar stack on heroku

Notifications You must be signed in to change notification settings

Samasource/vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a veewee template for building a Vagrant box that closely mirrors the heroku Cedar stack. You can build it yourself by following the directions below or install a prebuilt version from here.

Easy Install

Add the following to your Vagrantfile.

Vagrant::Config.run do |config|
  config.vm.box = "heroku"
  config.vm.box_url = "https://dl.dropboxusercontent.com/s/rnc0p8zl91borei/heroku.box"
end

And run vagrant up. The box will be downloaded and imported for you.

This box was last updated 8/19/13. For the latest changes, please follow the instructions below.

Building From Scratch

First, clone the repo and install gems with bundler.

$ git clone https://github.com/ejholmes/vagrant-heroku.git
$ cd vagrant-heroku
$ bundle install

Next, build the box with veewee. Go grab a cup of coffee because this is gonna take a while.

$ bundle exec veewee vbox build heroku

There is also a 2x dyno box available, just substitute every instance of heroku with heroku-2x.

And finally, install the box for use with Vagrant.

$ bundle exec veewee vbox export heroku
$ vagrant box add heroku heroku.box

You can create a Samasource CI box with these commands.

$ bundle exec veewee vbox build samaci
$ bundle exec veewee vbox export samaci
$ vagrant box add samaci samaci.box

Now all you have to do is setup vagrant in your project.

$ vagrant init [heroku|heroku-2x|samaci]
$ vagrant up
$ vagrant ssh

Included Packages

The packages that are included are carefully selected to closely match those on the Celadon Cedar stack.

  • Ubuntu 10.04 64bit for heroku boxes, Ubuntu 12.04 for CI boxes
  • Ruby 1.9.3-p484 MRI
  • Python with pip, virtualenv, and virtualenvwrapper
  • PostgreSQL 9.1.10
  • Foreman https://github.com/ddollar/foreman

About

A Vagrant base box that closely mirrors the Celadon Cedar stack on heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 64.6%
  • Ruby 35.4%