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

Introduction

Python is a general-purpose, high-level, easy-to-use, popular programming language. It is an interpreted ...

Get OpenShift Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.