O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling hot deployment for Python applications

Every time you make a change to your application source code and push the changes to the OpenShift application gear Git repository, OpenShift first stops your gear (which stops all the cartridges installed on the gear), copies the source code from your application Git repository to app-root/runtime/repo, performs a build, prepares the artifact, and finally starts your gear (which starts all the cartridges). This process takes time and does not suit rapid development and deployment. To enable rapid development and faster deployments, OpenShift supports hot deployment. Hot deployment means that you can deploy your changes without the need to restart all the application cartridges.

In this recipe, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required