To create a Grails application, use the grails create-app
command. The following command creates a Grails application, named myapp
in the current directory:
grails create-app fancy-app
Running it, is as simple as visiting the, newly created, application directory:
cd fancy-app
and then
grails run-app
// in order to run the app on a different port, e.g. 8888, use this instead
grails run-app -port 8888
// in order to run the app with a secure communication
grails run-app -https