有没有办法自动下载和设置Bluemix Liberty Profile实例?

时间:2015-04-18 22:17:02

标签: maven cloudfoundry websphere-liberty ibm-cloud

假设我想在本地配置一个开发环境,允许我在同一个J2EE容器中测试我的代码更改,我知道我可以通过以下方式轻松下载和部署我的应用程序到Liberty Profile步骤:https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/,但我想知道我是否可以使用Bluemix中提供的Cloud Foundry CLI工具执行相同的操作(以最可能的方式下载,安装和部署我的应用程序)。

*与Google Cloud Platform类似,我可以使用Google SDK下载并运行Google Application Engine的本地实例(mvn appengine:devserver),然后,当我对我的更改感到满意时,我可以推送它到云端(mvn appengine:update)。

2 个答案:

答案 0 :(得分:2)

如果要在Docker容器上部署应用程序而不是使用Cloud Foundry,可以下载“ibmliberty”容器映像。这将使您能够使用云中使用的IBM Java Liberty运行时在本地开发环境中进行测试。

答案 1 :(得分:1)

目前,没有单独的Liberty安装来模仿Bluemix环境。但核心运行时是一样的。从wasdev.net下载Liberty,然后匹配您的server.xml,如下所示: https://www.ng.bluemix.net/docs/#starters/liberty/index.html#liberty

相关问题