Difference between revisions of "Grails"
From Blue-IT.org Wiki
(→Manual) |
(→Installation) |
||
Line 1: | Line 1: | ||
= Installation = | = Installation = | ||
+ | First of all: install '''sun(oracle)-java 1.6''' and remove all openjdk packages (or at least be shure to run ''update-alternatives --config java''). | ||
+ | |||
== Ubuntu way == | == Ubuntu way == | ||
[http://www.grails.org/Installation http://www.grails.org/Installation] | [http://www.grails.org/Installation http://www.grails.org/Installation] | ||
Line 19: | Line 21: | ||
That's it ! | That's it ! | ||
− | |||
− | |||
== Manual == | == Manual == |
Revision as of 11:20, 30 July 2011
Installation
First of all: install sun(oracle)-java 1.6 and remove all openjdk packages (or at least be shure to run update-alternatives --config java).
Ubuntu way
http://www.grails.org/Installation
http://www.grails.org/Download
sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get update sudo apt-get install grails #to add grails 2.0.0 M1 sudo apt-get install grails-2.0.0 #to add grails 1.2.5 sudo apt-get install grails-1.2.5 #switch between versions sudo update-alternatives --config grails
That's it !
Manual
http://www.grails.org/Installation
http://www.grails.org/Download
Download an install grails into a directory.
Then edit your ~/.bashrc file or use export to set the variables in the running shell / environment:
export PATH="$PATH:/local/share/grails/bin" export JAVA_HOME="/usr/lib/jvm/java-6-sun" export GRAILS_HOME="/local/share/grails"