Creating your first Python application
In this recipe, you will learn how to create an OpenShift Python application using the rhc command-line tool. We will create a Python 3.3 application and then understand the template application created by OpenShift.
Getting ready
To walk through this recipe, you will need the rhc command-line client installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for details.
How to do it…
Perform the following steps to create your first Python application:
- Open a new command-line terminal, and change the directory to a convenient location where you want to create the application.
- To create a new Python 3.3 application, run the ...
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.