Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Chapter 8. OpenShift for Python Developers

This chapter presents a number of recipes that will help you to get started with Python web application development on OpenShift. This chapter contains the following recipes:

  • Creating your first Python application

  • Managing Python application dependencies

  • Creating and deploying Flask web applications using Python and PostgreSQL cartridges

  • Enabling hot deployment for Python applications

  • Forcing a clean Python virtual environment

  • Accessing an application's Python virtual environment

  • Using Gevent with Python applications

  • Installing a custom Python package

  • Using the .htaccess file to configure Apache