BCS New Grails Application

The Grails environment for this example is Grails 3.2.2, Groovy 2.4.7 and JVM 1.8.0_92.

To create a new grails app issue the following command at the command prompt.

grails create-app db01

 

After the command completes the following output can be observed.

To review what grails created change to the newly created application folder and issue the dir command.  The following will be available.

To import the Grails application into Eclipse select the File -> Import option and the following dialog will appear.

Be sure to traverse to the Projects from Folder or Archive option and press the Next option.

To begin the import click the Finish button.

As you can see the newly created db01 file structure in now available in Eclipse.

To run the application issue the following command at the command prompt at depicted below.

grails run-app

The result of the command can be reviewed in the command prompt below.

To review the application in action issue the following command in any available browser.

http://localhost:8080

The result of the command is the running Grails application as listed below.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

 

One thought on “BCS New Grails Application”

Leave a Reply