Skip to content
Grails 2.0 application on Heroku
Groovy Java JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.settings
grails-app
src/main/webapp/WEB-INF
web-app
.classpath
.project
Procfile
README.md
application.properties
pom.xml

README.md

Grails Deployment on Heroku Example


Example Grails 2.0.0.BUILD-SNAPSHOT application deployable to Heroku's new Java support.

Relevant configuration can be found in the pom.xml and Procfile.

Basic steps to deploy this application to Heroku would be:

git clone git://github.com/grails-samples/hello-heroku.git
cd hello-heroku
rm -rf .git
git init
git add .
git commit -m "init"
heroku create --stack cedar
git push heroku master

To check it started up properly run:

heroku logs

If there are no errors in the logs you can go the application with:

heroku open
Something went wrong with that request. Please try again.