by nicholasmott

GitHub Readme.md

Heroku Buildpack Octopress

A fork of the official Ruby Buildpack with support for generating an Octopress static site during the build/deploy stage.

Inspired by the heroku-buildpack-ruby-octopress from Jason Garber but updated to work with the new Heroku Bundler method of specifying a Ruby version.


To use this build pack prepare your Octopress install according to the original instructions from Jason Garber.

When creating the Heroku application substitute this buildpack.

heroku create --buildpack https://github.com/nicholasmott/heroku-buildpack-octopress.git

or add this buildpack to your current app

heroku config:add BUILDPACK_URL=https://github.com/nicholasmott/heroku-buildpack-octopress.git


The buildpack adds the octopress generate task after rake assets:precompile task in the Ruby language pack.

The Rack language pack is then invoked by the config.ru file which runs the Sinatra Static Server to serve the generated files.

Rails 2/3 language packs remain in place but will be ignored.