Mostly Grails tips from Code Panda

Monthly Archives: August 2011

[Note: The Information in the following post is out of date. Please use the Grails Heroku plugin instead ( edited Dec 19, 2011 )]

Heroku recently announced Java support. In this post, I will show you how to deploy Grails applications into Heroku using the Maven support available to Grails.

Heroku recommends building a jar file and executing this against an embedded Jetty instance. This solution simply does a simple grails run-app and is inspired by the Play! framework support in Heroku. ( BTW, why Roo & Play! and not Grails? )

We recently changed the core Secret Escapes project to allow us to create white label integrations. Essentially, we needed to add the ability for our application to apply different themes depending on the provided affiliate or subdomain.

The end result of this work is that you get a differently branded experiences, while retaining much of the same functionality when visiting differently branded pages.