Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs

Wednesday, July 20, 2011

Grails - Deployment

Grails - Deployment

Grails should never be deployed using the grails run-app command as this sets Grails up in "development" mode which has additional overheads. To deploy a Grails application type:

grails war
This will create a Web Application Archive (WAR) file from the app name and version found in the application.properties file. For example myapp-0.1.war

Now take this WAR file and install it into your container of choice. See below for container specific installation.

No comments:

Post a Comment