Need help with middleman-heroku-static-app?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

indirect
125 Stars 19 Forks MIT License 22 Commits 1 Opened issues

Description

Precompile your static Middleman site when you push to Heroku

Services available

!
?

Need anything else?

Contributors list

# 13,852
Ruby
Rails
rubygem...
sidekiq
13 commits
# 544,591
Ruby
1 commit
# 38,051
golang
deploy-...
Heroku
aws-lam...
1 commit
# 555,442
Java
Ruby
1 commit
# 483,580
Python
Perl
1 commit

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
.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.