Tuesday 7 May 2013

Grails - Installation

There are tutorial how to install Grails:

  1. Install Java:
  2. Install Groovy/Grails Tool Suite IDE:
    • http://www.springsource.org/downloads/sts-ggts
      • http://download.springsource.com/release/STS/3.2.0/dist/e4.2/spring-tool-suite-3.2.0.RELEASE-e4.2.2-linux-gtk-x86_64-installer.sh
      • ./spring-tool-suite-3.2.0.RELEASE-e4.2.2-linux-gtk-x86_64-installer.sh
  3. Set environment variable:
    • vim ~/.bashrc
      • export GRAILS_HOME=/path/to/springsource/grails-2.2.1
      • export PATH="$PATH:$GRAILS_HOME/bin"
        • /path/to/springsource/grails-2.2.1: after install Groovy/Grails Tool Suite IDE you will get application folder like this.
    • Save file and reboot, try test it by this command:
      • grails -version
Good luck!

No comments:

Post a Comment