windows下的grails安装与配置
来源:互联网 发布:围棋提子算法 编辑:程序博客网 时间:2024/05/13 15:55
步骤 1:从官方网站 http://grails.org/下载最新发布的版本。
步骤 2:将相关的压缩包解压到一个目录中,可以是专门用来开发的目录,也可以简单的直接解压到桌面上。
步骤 3:设置 GRAILS_HOME 环境变量,值为步骤 2 中解压的 Grails 目录路径, windows下,可以右键单击“我的电脑”单击“属性” ,然后在“高级”一栏中看到相关设置;
步骤 4:为了能够在终端或者命令行窗口中运行 Grails 脚本,需要将 Grail s的 bin 目录加到系统环境变量“PATH ”中,这样可使 Grails 脚本在窗口中可见,操作方法也与操作系统有关。在 windows 平台上, 将%GRAILS_HOME%\bin 添加到 PATH 变量中 (使用“;”与其他路径分开) 。
步骤5:为了验证安装是否成功,可以打开一个命令行窗口或者终端并且输入
“grails ”命令,如果成功将得到下面所示的结果
D:\>grails
Welcome to Grails 1.2.0.RC2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\grails\grails-1.2.0.RC2
No script name specified. Use 'grails help' for more info or 'grails interactive
' to enter interactive mode
当我们输入“grails help ”后,会列出 Grails 的所有命令,使用这些命令式
高效应用 Grails 的先决条件。 而且从长远来看, 了解正确的运行步骤会受益颇多。
……
grails create-app
grails create-controller
grails create-domain-class
grails create-filters
grails create-integration-test
……
grails war
步骤 2:将相关的压缩包解压到一个目录中,可以是专门用来开发的目录,也可以简单的直接解压到桌面上。
步骤 3:设置 GRAILS_HOME 环境变量,值为步骤 2 中解压的 Grails 目录路径, windows下,可以右键单击“我的电脑”单击“属性” ,然后在“高级”一栏中看到相关设置;
步骤 4:为了能够在终端或者命令行窗口中运行 Grails 脚本,需要将 Grail s的 bin 目录加到系统环境变量“PATH ”中,这样可使 Grails 脚本在窗口中可见,操作方法也与操作系统有关。在 windows 平台上, 将%GRAILS_HOME%\bin 添加到 PATH 变量中 (使用“;”与其他路径分开) 。
步骤5:为了验证安装是否成功,可以打开一个命令行窗口或者终端并且输入
“grails ”命令,如果成功将得到下面所示的结果
D:\>grails
Welcome to Grails 1.2.0.RC2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\grails\grails-1.2.0.RC2
No script name specified. Use 'grails help' for more info or 'grails interactive
' to enter interactive mode
当我们输入“grails help ”后,会列出 Grails 的所有命令,使用这些命令式
高效应用 Grails 的先决条件。 而且从长远来看, 了解正确的运行步骤会受益颇多。
……
grails create-app
grails create-controller
grails create-domain-class
grails create-filters
grails create-integration-test
……
grails war
0 0
- windows下的grails安装与配置
- Windows下JBoss的安装与配置
- Windows下SVN的安装与配置
- windows下Emacs的安装与配置
- Windows下Memcached的安装与配置
- windows下Emacs的安装与配置
- Windows下Mantis的安装与配置
- windows下phpmyadmin的安装与配置
- Windows下opentaps的安装与配置
- windows下Emacs的安装与配置
- windows下Nginx的安装与配置
- WindowS下Ant的安装与配置
- windows下Emacs的安装与配置
- Windows下Nginx的安装与配置
- Windows下Nginx的安装与配置
- windows下Emacs的安装与配置
- windows下Emacs的安装与配置
- Windows下GIT的安装与配置
- 百度地图优化方法
- 解决烦人的img与input不能水平对齐的问题
- uva 624 CD
- 研大考研不是骗子,了解研大品质
- Mysql更新插入
- windows下的grails安装与配置
- Redis相关
- amazon aws 亚马逊云服务概述
- 的后视镜后短时间还算得上
- 10条你不知道的健康生活方式
- libevent的使用
- 康拓展开
- Xcode添加图片报错:Multiple errors occurred while copying the files.
- POJ 3895 Cycles of Lanes(DFS)