O'Reilly logo

Grails 2: A Quick-Start Guide by Ben Klein, Dave Klein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Iteration Zero

Before we get started building our application, we’ll take a few moments to set the stage.

Installing Grails

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:

  1. Expand the archive to a directory on your computer.

  2. Set your GRAILS_HOME environment variable to this directory.

  3. Add GRAILS_HOME/bin to your path.

  4. Ensure that you have a JAVA_HOME environment variable pointing to a JDK version 1.6 or higher. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required