I recently start playing with Openshift and I am wondering if there is a way to deploy ( test) your application on local host before you upload it on openshift. Thing is that every time I make change on the code, it takes some time to push it to openshift and check if it works.
Google app engine SDK ( for Eclipse), for example, includes a web server application (app engine simulator) that allows you to test your app locally before you deploy on google.
thnx Fotis
There are several options actually (assuming you're creating java projects):
1) deploy it on a local jboss as7: this is completely valid since the runtimes that are offered on OpenShift differ in no way from what you can run locally / in a hosted environment. What's specific to OpenShift is the deployment process. It basically is a git push which triggers a maven build on the PaaS.
2) use the rpms/liveCD: OpenShift is also available as linux rpm packages and as virtual machine appliance (you may run with virtualbox, vm player etc). You'll find more details here: http://blog.jebpages.com/archives/run-openshift-origin-from-livecd-and-make-it-stick/ and here: https://openshift.redhat.com/community/wiki/build-your-own-paas-from-the-openshift-origin-livecd-using-liveinst
3) remote debug the application that is running on OpenShift: You'll find the details here: https://community.jboss.org/en/tools/blog/2012/06/27/deploy-from-eclipse-to-openshift-in-a-breeze
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