Deploy Python apps to your servers using OpsCaptain

OpsCaptain can deploy Python apps written with any framework using the Cloud Foundry
python-buildpack.
From the developers perspective, you simply deploy your code using the CLI and OpsCaptain configures the environment
to install dependencies using the buildpack and launch your application. If you are interested in understanding how the buildpack works
and also specify a specific python version to run your app, review the buildpack docs using this link. OpsCaptain provides a Cloud Foundry compatible environment on your
servers so you can run your Python applications effortlessly.

For a list of the supported Python versions, you can review the buildpack release notes found here

Step 1. Create your app

From the dashboard: Log into the dashboard and create a new app using this link.
Select the required database engine. If your app does not require a database, do not make a selection. Once the app and database are created, you can then proceed to deploy your code to it.

Step 2. Specify a Start Command

The Python buildpack does not generate a default start command for your applications. To stage with the Python buildpack and start an application, do one of the following:

Supply a Procfile. Create a file with name Procfile in the root directory of your application. The following example Procfile specifies gunicorn as the start command for a web app running on Gunicorn: