Before we get started building our application, we’ll take a few moments to set the stage.
First off, let’s get Grails installed and set up. There are a few different ways to install Grails, with installers on one end of the spectrum and building the source from GitHub on the other. We’ll use that happy middle ground and download the compressed binaries. They are at http://grails.org/download and are made available as zip files. Once we have them, follow these steps:
Expand the archive to a directory on your computer.
Set your GRAILS_HOME environment variable to this directory.
Add GRAILS_HOME/bin to your path.
Ensure that you have a JAVA_HOME environment variable pointing to a JDK version 1.6 or higher. ...