Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

indirect/middleman-heroku-static-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Middleman on Heroku

precompiled and served statically

Usage

$ git clone http://github.com/indirect/middleman-heroku-static-app.git mysite && cd mysite
$ bundle install && bundle exec middleman init .
$ git add . && git commit -m "brand new site"
$ heroku create && git push heroku master
$ heroku open

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

You can customize the 404 page that's served if TryStatic can't find a file by editing source/404.html.erb.

About

Precompile your static Middleman site when you push to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages