Search

Dark theme | Light theme

November 20, 2009

Create a Grails App in the Current Directory

The Grails create-app command accepts several arguments besides the application name. We can create the Grails directory structure in the current directory by using the --inplace argument. We can set the initial application version with the --appVersion argument. So to create a new Grails application with the name blog-app in the current directory with an initial application version of 1.0 we invoke the following command:

$ grails create-app --inplace --appVersion=1.0 blog-app