Was thinking about learning some new stuff for the week end , and So came the Idea of Grails. This framework has been creating some buzz around me for quiet some time and here I’m getting my hands on it. Of course, getting dirty.
Prerequisites for the Grails Installation are : JDK 1.4 or Higher. I hope you can find millions of web pages talking about the JDK installation and setting the JAVA_HOME environment variables. So lets get into business.
Grails can be downloaded from Grails Download section. I downloaded the Binary zip of the stable version, Grails 1.1.1 . Since we are dealing specically about installation on Mac, I’m going to reference everything related to Installation on Mac.
I moved the Zip file to /Users/my_username/grails1.1.1/. Changed the permissions to 755 on the contents of the bin.
chmod 755 /Users/my_username/grails1.1.1/bin/*
Do the following steps.
pwd /Users/my_username/ (In your case it will be your home directory)
ln -s grails-1.1.1 grails (create a soft link to grails directory)
Set up the environment variables
GRAILS_HOME=/Users/my_username/grails;export GRAILS_HOME
PATH=$GRAILS_HOME/bin:$PATH;export PATH
That’s it. You are done.
Type in Grails on the command line. If you see the following message, then the installation was successful.
Welcome to Grails 1.1.1 – http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/acv/grails
No script name specified. Use ‘grails help’ for more info or ‘grails interactive’ to enter interactive mode
Welcome to Grails 1.1.1 – http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/acv/grails
No script name specified. Use ‘grails help’ for more info or ‘grails interactive’ to enter interactive mode
No Comments | In: Technology | | #