Since this is a guide for the impatient, we are going to dig right in and create our first application. In this chapter we are going to spin up a plain Python application without any code dependencies. Like we said in the Preface, we chose Python because it is easy to read. The goal is for you to get comfortable with the syntax for creating OpenShift applications; you do not need to know Python to understand this book. Again, we are just using Python to illustrate the patterns of working with OpenShift; this book will most definitely not make you a Python expert.
Before you get started, you’ll need to do two things:
In the next section, we will explain the
rhc setup command.
Once you have installed the client tools, you need to configure them to work with your OpenShift Online account. To do this, use the following command:
$ rhc setup
Executing this command sets up your command-line tools to talk to the OpenShift servers. When you run this command, the following things will happen: