Skip to content
accelerando

Grails startup parameter

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

Post a Comment

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

*

Close
E-mail It