문제

i have been trying to change my openshift cloud app name from

appname-domain.rhcloud.com to appname-domain.rhcloud.com/myapp/

as mentioned in this link i have deployment my own custom war file in openshift jboss server.

but how to change my cloud url to this appname-domain.rhcloud.com/myapp/, where initially i deployed ROOT.War file, which now i want to deploy my war file as myapp.war file.

도움이 되었습니까?

해결책

To deploy a WAR file you have to put the WAR file inside deployments directory of your OpenShift application. Rename the ROOT.war to myapp.war and copy it to deployments directory. Then run the following commands.

git add .
git commit -am "added myapp.war"
git push
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top