不使用GIT将WAR文件部署到Openshift? [英] Deploy WAR file to Openshift without using GIT?
问题描述
我想将WAR文件上传到我的 Openshift 帐户,但它迫使我
使用GIT或GITHUB(这里)。请原谅我这样说,但这非常恼人。
有没有办法直接将WAR文件上传到我的应用程序中而不使用第三方?
我的应用程序(在Openshift中)包含:Tomcat 7(JBoss EWS 2.0),MySQL 5.5。
非常感谢
请按照以下链接中的说明操作
更多详细信息:
您可以这样使用:
点击 git
并登录到git bash,然后执行此操作:
scp<您的本地文件名称> < your hash number> @< your app name> - < your domain name> .rhcloud.com:〜/< app name> / data /
$ p例如:
scp hello.csv 87b95e67477f442c9356a4ae49cd7c9e @ cdapp-music。$ p
例子: rhcloud.com:~/cdapp/data/
外部来源:from 此处
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 .
Is there any way upload a WAR file straight to my application without using some third party ?
My application (in the Openshift) consists of : Tomcat 7 (JBoss EWS 2.0), MySQL 5.5 .
Much appreciated
解决方案Please follow the instructions in the following link
More details :
You can use like this :
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/
example:
scp hello.csv 87b95e67477f442c9356a4ae49cd7c9e@cdapp-music.rhcloud.com:~/cdapp/data/
External Sources : from here
这篇关于不使用GIT将WAR文件部署到Openshift?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!