Permalink
Browse files

readme with usage

  • Loading branch information...
1 parent 39fe38f commit 65e512ce507bda4e424f5b3e64b2faa306ea4d72 @indirect committed Apr 22, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -0,0 +1,13 @@
+# Middleman on Heroku
+### precompiled and served statically
+
+## Usage
+
+ $ git clone http://github.com/indirect/middleman-heroku-app.git mysite
+ $ cd mysite
+ $ heroku create --stack cedar --buildpack http://github.com/indirect/heroku-buildpack-middleman.git
+ $ git push heroku master
+
+The only expectation is that `middleman build` will generate your site into `./build`. That's where Rack::TryStatic will look.
+
+If you want to serve a pretty 404 page, create a file named `404.html` at the root of your site, and it will be served automatically any time Rack::TryStatic can't find a file.

0 comments on commit 65e512c

Please sign in to comment.