Grails startup parameter

February 9, 2009 by Michael

Just some snippets from the doku that I tend to forget:

Run grails on a different port:

grails -Dserver.port=9090 run-app

Run grails with a different environment:

grails prod run-app // production
grails -Dgrails.env=mycustomenv run-app  // mycustomenv

No comments yet

Post a Comment

Your email is never published nor shared. Required fields are marked *