不使用GIT将WAR文件部署到Openshift? [英] Deploy WAR file to Openshift without using GIT?

查看:224
本文介绍了不使用GIT将WAR文件部署到Openshift?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将WAR文件上传到我的 Openshift 帐户,但它迫使我
使用GIT或GITHUB(这里)。请原谅我这样说,但这非常恼人。



有没有办法直接将WAR文件上传到我的应用程序中而不使用第三方?



我的应用程序(在Openshift中)包含:Tomcat 7(JBoss EWS 2.0),MySQL 5.5。



非常感谢

解决方案

请按照以下链接中的说明操作

https://www.openshift.com/kb/kb-e1088-how-to-deploy-pre-compiled-java-applications-war-and -ear-files-onto-your-openshift-gear



更多详细信息:

您可以这样使用:



点击 git 并登录到git bash,然后执行此操作:

  scp<您的本地文件名称> < your hash number> @< your app name>  - < your domain name> .rhcloud.com:〜/< app name> / data / 

  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

https://www.openshift.com/kb/kb-e1088-how-to-deploy-pre-compiled-java-applications-war-and-ear-files-onto-your-openshift-gear

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆