Burak Dede – Read Once Do Everytime

Archive for January, 2010

How To Install Grails on MacOsX

leave a comment

In order to setup grails and use it form terminal you have to do some work but not much.(If you want to use grails directly you can get Netbeans or IntelliJ IDE and just show where is grails package and you are ready to go)

First you need to download grails then apply to following command from terminal

  • $sudo mv ~/downloads/grails-1.0.1 /usr/share (move it to usr/share)
  • $cd /usr/share (change to that directory)
  • $sudo chmod 755 grails-1.0.1/bin/* (give permission to grails/bin )
  • $ln -s grails-1.0.1 grails (create symbol link)
  • open ~/.profile to edit( vi ~/.profile ) (open profile file to edit)
  • add the following path and home declerations to profile
  • GRAILS_HOME=/usr/share/grails; export GRAILS_HOME (add)
  • PATH=$GRAILS_HOME/bin:$PATH; export PATH (then add this without spaces around = )

Written by burakdede

January 13th, 2010 at 8:55 pm

Posted in grails

Tagged with , ,