1

我打算将 grails Web 应用程序部署到另一台计算机上。另一台计算机已经有一个 apache tomcat 服务器和一个 mysql 服务器。

我是否需要在要部署 grails 应用程序的那台机器上安装 groovy?或其他图书馆?还是只是java?

4

2 回答 2

4

All you need is java and a webapp container like tomcat. When you create a war file with grails war, the war file will contain all the dependencies of your project, including all of grails and groovy. This does make the war files quite large, but they are extremely easy to deploy.

于 2012-08-01T02:33:21.080 回答
1

事实上,您只需要一个 web 容器(一些 web 容器中内置了 JRE)

您通过运行“grails war”创建的war 文件将构建一个包含所有库的war 文件,其中包括其中的所有库。

于 2012-08-01T06:59:27.170 回答