Setting up Grails
In case you have missed it , here is the first post Introduction to Grails
Before creating the first grails application we need to first install & set up grails environment –
- Go to http://www.grails.org/Download , Download and unzip grails.
- Create a
GRAILS_HOMEenvironment variable. - Add $GRAILS_HOME/bin to the
PATH.
Pre-requisite - Jdk 1.4 or above.
Cool thing about Grails is you don’t need to install server or database for running test apps. web server is ‘jetty’ server comes with grails so you do not need to install separately. But if you want to use any other server like tomcat , jboss ..,you can.
Grails also comes with HSQLDB, a pure-Java database. Using another database, such as mysql or Oracle Database is just changing the dbdriver in DataSource.groovy ,thanks to Hibernate and GORM.
Enjoy setting your machine for start Grailing.
Update: In this post, how to create and run First Applications . I am covering the next steps for starting development

