heroku

Now powered by Heroku

This is just a quick note to let everyone know Ariejan.net is now proudly hosted by Heroku. Since this site is powered by a toto (a rack-based blog engine) and no database, Heroku is the perfect hosting solution. ~ All articles are simple text files (with some YAML front-matter to specify title, tags, etc.) and are kept under Git version control. Deploying Ariejan.net is a simple git push to Heroku.

Precompile SASS to CSS for deployment to Heroku

If you have deployed apps to Heroku you know that you cannot write to the read-only file system that Heroku offers. For file uploads you have to use some storage provider like Amazon S3 or RackSpace CloudFiles. Now, if your application (I’m assuming you’re already on Rails 3), is using Haml + Sass, you’re in some trouble. Sass is set to generate CSS files on the fly and save them to public/stylesheets so the can be served like static content.