This page last changed on Mar 29, 2006 by [email protected].
Installation from Download
Prerequisites
In order to start using Grails you need to have the following:
- An installation of Java 1.4 or higher and have set your JAVA_HOME variable to the install location
Steps
- Download the latest Grails release
- Extract the archive into an appropriate location
- Create a GRAILS_HOME environment variable that points to the path where you extracted the archive (eg C:\grails on Windows or ~/grails on Unix)
- Append a reference to the "bin" directory within the Grails directory to your PATH variable (eg %GRAILS_HOME%\bin on Windows or $GRAILS_HOME\bin on Unix)
- Type "grails" at the command line, if a help message is displayed you are ready to start using Grails!
Installation from CVS
Prerequisites
In order to start using Grails from CVS you need to have the following:
- An installation of Java 1.4 or higher and have set your JAVA_HOME variable to the install location
- A working installation of Apache Ant 1.6.5 or higher
Steps
- Checkout Grails from the CVS repository
- Set the GRAILS_HOME environment variable to the checkout location
- Add the "%GRAILS_HOME%\bin" directory to your PATH environment variable
- Go to the %GRAILS_HOME% directory and type "ant" to build Grails
- That's it! Start developing in Grails!
|
Linux/Solaris/OSX/UNIX users should make the grails and ant executables executable immediately after running ant:
chmod u+x $GRAILS_HOME/bin/grails $GRAILS_HOME/ant/bin/ant |
|