1) Download Grails - http://www.grails.org/Download   (approx 30MB zip file)

2) I have extracted the contents of the zip into c:\grails\


(figure 1 - grails folder screenshot)


 Grails Folder


3) Make an environment variable called GRAILS_HOME. This needs to be the path where you extracted the zip file (for example, c:\grails\)


(figure 2 - grail envronment variable screenshot)


Grails System Properties


 


Grails Environment Variable


 4) Add the grails bin folder to the environment variable PATH. For example, %GRAILS_HOME%\bin


5) Now Download Java  http://java.sun.com/javase/downloads/ (approx 78 MB file)


6) Install Java (for example into folder c:\jdk1.6\)


7) Create a JAVA_HOME environment variable that points to the path where you have installed Java


8) Add the Java bin folder to the environment variable PATH. For example, %JAVA_HOME%\bin


9) The final task is to open a command line (type cmd to open a command prompt)


type


grails


(figure 3 - grails command prompt - welcome message)


 Grails Command Prompt


 

                    

Copyright © 2008 VisualBuilder. All rights reserved