What’s New at Grails Example



New Linux install method
I don’t typically post about updates to our install videos since we try to refresh them several times per year, but the Installing Grails on Linux video has been redone showing how to install Grails using the Groovy Environment Manager (GVM). Traditionally, we have shown the install using the Ubuntu Package Manager, but the Launchpad team has stopped updating their packages beyond Grails 2.2.0, and their current package throws errors when starting the Grails server on Ubuntu 13.x. GVM is a nice tool that let’s you install and switch between several versions of Grails, taking care of all the environment variables for you.

August issue of Grails Academy Magazine
The August issue of our magazine is out and is now viewable on the iPhone as well as iPad. Among the four videos on models, views, controllers, and architecture, is a cool tutorial on how to integrate the Foundation js framework into your views to create forms that support fluid grids and responsive design. The Framework works seamlessly with Grails so you can keep all of your scaffolding in place and just mark up your form elements. Here are all the videos we are featuring this month:

  • Models: Using Where-Clause Queries
  • Views: Creating Fluid Grid Forms
  • Controllers: Calculating Dates – Part 3
  • Architecture: Achieving Code Coverage in Unit Tests

Installing a Grails Development Environment on Linux


In this Grails Example, we will set up our development environment on a Linux system.

Video #6 shows how to install Grails and Java on Linux

Learn about the new Grails Academy magazine

Video #7 shows how to install Eclipse and the Grails extensions on Linux

Learn about the new Grails Academy magazine

Installing a Grails Development Environment on OS X


Updated for Grails 2.3.x
Video #4: In this Grails Example, we will set up our development environment on an OS X environment.

This first video shows you how to install Grails and Java on OS X. To install Grails, you will need a Java Developers Kit (www.apple.com), and the Grails libraries (www.grails.org). This video will show you how to download and install both. We will be using the Groovy Environment Manager (GVM) to easily install the latest version of Grails.

Subscribe to Grails Academy Magazine.

Video #5: In the second video, you learn how to install an Integrated Development Environment (IDE) based on Eclipse called the Groovy/Grails Tool Suite. This tool is pre-configured for Groovy and Grails to give you features such as syntax highlighting and code completion. The video shows you how to install it and configure it for the Grails 2.1.1 environment that you installed in the previous video.