Deploy WAR file to Openshift without using GIT?

后端 未结 2 1720
我寻月下人不归
我寻月下人不归 2021-02-13 05:10

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 a

2条回答
  •  青春惊慌失措
    2021-02-13 05:16

    You may refer https://developers.openshift.com/en/tomcat-deployment-options.html

    Steps:

    1. git clone to download the source code

    2. remove src and pom.xml from repo and push

    3. Use Win Scp / FileZilla to log into your app

    4. Paste ROOT.war here /var/lib/openshift/{APP_ID}/app-root/runtime/dependencies/jbossews/webapps

    or simply app-root/runtime/dependencies/jbossews/webapps from the landing directory.

提交回复
热议问题