กิจกรรมล่าสุดของไซต์

การติดตั้ง Grails

ที่มา :: http://grails.org/doc/1.0.x/guide/2.%20Getting%20Started.html#2.1%20Downloading%20and%20Installing

ขั้นตอนในการติดตั้ง Grails


1. ทำการ Download Grails หรือสามารถ Download การติดตั้งแบบ exe

2. ถ้าทำการติดตั้งด้วย zip, tar.gz ให้กำหนด environment ต่างๆ ดังนี้

Windows
GRAILS_HOME =< folder ที่ทำการ extract file>
PATH=.;%GRAILS_HOME%\bin;%PATH%

Unix/Linux
GRAILS_HOME =< folder ที่ทำการ extract file>
PATH=.:$GRAILS_HOME/bin;$PATH%
export GRAILS_HOME PATH

ทดสอบการติดตั้งโดยไปที่ command/terminal windows ขึ้นมาแล้วพิมพ์ 
>grails

จะแสดงผลการทำงานดังนี้

Welcome to Grails 1.0.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Somkiat\MyResearch\GroovyGrails\grails\1.0.3\grails-1.0.3

No script name specified. Use 'grails help' for more info or 'grails interactive
' to enter interactive mode



สามารถดูเอกสารเพิ่มเติมได้ที่นี่ครับ
http://groups.google.com/group/thai-grails-user/web/getting-started