Download the OpenShift jar and run it

Hi, I have a simple bank that works as a server, can I upload it to my OpenShift account and run it? How come the way? Thanks in advance.

+4
source share
2 answers

You may need to provide a few more details. If you want to download the .jar file and run it, you will need to add it to the git repository, and then create an action hook that launches the .jar file (java -jar / path / to / file.jar &), and then click git. if you want to include a jar file for your .war web application, you can check the KB article section of the openshift website for examples of how to do this.

+1

8080 IP- . , ${OPENSHIFT_DIY_IP} ${OPENSHIFT_DIY_PORT}. ( , 80, , 8080.)

fooobar.com/questions/1526759/..., WAR, script, JAR , .

, JAR , Amazon Web Services - . OpenShift - PaaS ( ), Amazon Web Services - IaaS ( ). , , linux java, IaaS. linux, ​​ 80. JAR OpenShift, - ( , -). AWS, .

+1

Source: https://habr.com/ru/post/1526758/


All Articles