Grails on AWS EC2

Here are the steps I took to deploy a Grails app on AWS EC2 with Grails 2.2.3. This is a follow-up to my previous post but using EC2 instead of Elastic Beanstalk. I’m switching from Elastic Beanstalk to EC2 because EB doesn’t allow you to stop an instance and as a result you also cannot change the instance type.

Continue reading

Installing Grails & Intellij Idea under Ubuntu 13.04

It’s been a couple of years since I did a fresh install of Ubuntu and my Grails development environment. This post provides a walk-though of the steps to install Grails and Intellij Idea on ubuntu 13.04. I’m using Xubuntu, Grails 2.2.3, Intellij Idea 10 (with Groovy & Grails support).

Continue reading

Grails, Spock & IntelliJ Idea First Steps

I’ve been meaning to spend some time setting up a Test Driven Development approach to my Grails development and after looking at the options, Spock seems to be a popular and capable testing and specification framework for Grails and Java development.

I’m using Grails 2.0.1, the Grails Spock plugin and IntelliJ IDEA 10.5. I’m going to pick an existing Grails project add Spock and write a simple unit test for one of my domain classes. This grails-spock-example project was one of the most helpful posts I ran across.
Continue reading