PurposePackages the current Grails application into a Web Application Archive (WAR) file and runs the application in a Jetty container on port
grails run-war -https // with HTTPS
grails prod run-war
grails -Dserver.port=8090 run-war
Supported system properties:
https - Start an HTTPS server (on port 8443 by default) alongside the main server. Just to be clear, the application will be accessible via HTTPS and HTTP.
server.port - Specifies the HTTP port to run the server on (defaults to 8080)
grails.server.port.https - Specifies the HTTPS port to run the server on (defaults to 8443)
server.host - Specifies the host name to run the server on (defaults to localhost)
This command will package Grails inside a WAR file and then run it with a Jetty container. Useful for quick deployment and/or testing. However, unlike run-app this command does not support reloading as a Grails WAR archive does not ship with Groovy sources, but only compiled byte code.
StatusFinal - When the container has been started
StatusUpdate - When the container is reloading