middleman / middleman-heroku

Precompile your static Middleman site when you push to Heroku

Home Page:http://middlemanapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Middleman-Heroku

middleman-heroku is an example on how to use Middleman and Heroku together. Following the installation you should have Middleman precompiling when pushed to Heroku, then served statically via Puma.

The only expectation is that middleman build will generate your site into ./build which is where Rack::TryStatic will look.

Installation

$ git clone http://github.com/middleman/middleman-heroku.git --depth=1 mysite && cd mysite
$ heroku create && git push heroku master
$ heroku open

Configuration

  • / will try to serve your build/index.html file.
  • /foo will try to serve build/foo or build/foo.html in that order.
  • if a file can't be found it will serve build/404/index.html.

Community

The official community forum is available at: http://forum.middlemanapp.com

Bug Reports

Github Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues and submit new problems: https://github.com/middleman/middleman-heroku/issues

The best way to get quick responses to your issues and swift fixes to your bugs is to submit detailed bug reports, include test cases and respond to developer questions in a timely manner. Even better, if you know Ruby, you can submit Pull Requests containing Cucumber Features which describe how your feature should work or exploit the bug you are submitting.

License

Copyright (c) 2012-2014 André Arko. MIT Licensed, see LICENSE for details.

About

Precompile your static Middleman site when you push to Heroku

http://middlemanapp.com

License:MIT License


Languages

Language:CSS 81.1%Language:Ruby 18.7%Language:JavaScript 0.2%