在不使用 GIT 的情况下将 WAR 文件部署到 Openshift? [英] Deploy WAR file to Openshift without using GIT?
问题描述
我想将 WAR 文件上传到我的 Openshift 帐户,但它强迫我使用 GIT 或 GITHUB (此处).请原谅我这样说,但这很烦人.
I want to upload a WAR file to my Openshift account , but it forces me to use GIT ot GITHUB (here). Please forgive me for saying this , but this is very very annoying .
有没有什么方法可以不使用第三方直接将 WAR 文件上传到我的应用程序中?
Is there any way upload a WAR file straight to my application without using some third party ?
我的应用程序(在 Openshift 中)包括:Tomcat 7 (JBoss EWS 2.0)、MySQL 5.5.
My application (in the Openshift) consists of : Tomcat 7 (JBoss EWS 2.0), MySQL 5.5 .
非常感谢
推荐答案
请按照以下链接中的说明进行操作
Please follow the instructions in the following link
更多细节:
你可以这样使用:
点击 git
并登录到 git bash ,然后执行以下操作:
Hit git
and log into the git bash , and then do this:
scp <your local file name> <your hash number>@<your app name>-<your domain name>.rhcloud.com:~/<app name>/data/
示例:
scp hello.csv 87b95e67477f442c9356a4ae49cd7c9e@cdapp-music.rhcloud.com:~/cdapp/data/
外部来源:来自 此处
这篇关于在不使用 GIT 的情况下将 WAR 文件部署到 Openshift?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!