Coder Social home page Coder Social logo

otelic / vagrant-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ejholmes/vagrant-heroku

0.0 3.0 0.0 182 KB

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

Home Page: https://github.com/ejholmes/vagrant-heroku

vagrant-heroku's Introduction

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

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

$ vagrant init heroku
$ 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
  • Ruby 2.0.0-p247 MRI
  • RubyGems 2.0.3
  • Python with pip, virtualenv, and virtualenvwrapper
  • PostgreSQL 9.2.4
  • NodeJS 0.4.7
  • Foreman https://github.com/ddollar/foreman

vagrant-heroku's People

Contributors

ejholmes avatar swrobel avatar georgebrock avatar ceaser avatar jimray avatar scottmuc avatar hotfusionman avatar istockjared avatar jeroenvandijk avatar dexterthedragon avatar ntodd avatar pimterry avatar

Watchers

Sean Abrahams avatar Marcus Tallhamn avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.