Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ejholmes/vagrant-heroku
A Vagrant base box that closely mirrors the Celadon Cedar stack on heroku
https://github.com/ejholmes/vagrant-heroku
Last synced: 3 days ago
JSON representation
A Vagrant base box that closely mirrors the Celadon Cedar stack on heroku
- Host: GitHub
- URL: https://github.com/ejholmes/vagrant-heroku
- Owner: ejholmes
- Created: 2012-05-04T23:07:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-05T17:10:45.000Z (about 11 years ago)
- Last Synced: 2024-08-02T05:13:16.150Z (3 months ago)
- Language: Shell
- Homepage: https://github.com/ejholmes/vagrant-heroku
- Size: 178 KB
- Stars: 244
- Watchers: 13
- Forks: 56
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [veewee](https://github.com/jedi4ever/veewee) template for building a
[Vagrant](http://vagrantup.com/) 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](http://dl.dropbox.com/u/1906634/heroku.box).## Easy Install
Add the following to your `Vagrantfile`.
```ruby
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.
```bash
$ 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.```bash
$ 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.
```bash
$ bundle exec veewee vbox export heroku
$ vagrant box add heroku heroku.box
```Now all you have to do is setup vagrant in your project.
```bash
$ 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