I created an web app and i d like to deploy in on Openshift. What s the easiest way to do it? I m using the Openshift Eclipse client.
Shall I create a new openshift and then copy all the files from the my exisitng app or is there are an easier way to covnert my existing app to an openshift one?
thnx
If your app is a Java EE web app, try this:
I think the best way to use OpenShift is through the rhc command line in combination with git. Once you're setup you can easily git push to OpenShift and control your application's deployment with action hooks. Check out an OpenShift example with a Python Django app: https://github.com/openshift/django-example and the action hooks you can find here: https://github.com/openshift/django-example/tree/master/.openshift/action_hooks
Depending on what kind of app you're setting up, the process may differ slightly. I suggest finding the OpenShift example for the type of application you're building (Java, Python, Ruby or w/e) on the OpenShift github https://github.com/openshift, get it going with their setup instructions and then move your code into the project. Using the rhc command line and the starter repos to setup the project provides you with basic action hooks and git flow quickly.
If you're set on using the Eclipse client then follow along with this guide for deployment: https://www.openshift.com/blogs/getting-started-with-eclipse-paas-integration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With