rich manalang

aka @rmanalan
« Back to blog
Jan 25
Views

Static websites with Heroku

I recently moved off of Dreamhost in favor of Heroku.  I have a few static sites I needed to move over and here's how I did it:

Basically, I'm using Rack with some extensions (rack-contrib and rack-rewrite) to serve up the /public directory.  Nice and easy!

Update: Here's a different approach if you want to host directories http://github.com/manalang/heroku-directory-index