How to create new Building Configuration in OpenShift (for Django app)

1.5k views Asked by At

I need to create a customized building configuration for my OpenShift(NextGen) Django application .Currently I am having django-psql-persistent configuration, which is comes with OpenShift(NextGen)-Django by default.

1

There are 1 answers

0
Graham Dumpleton On

You can use the basic 'python' builder image available from the catalog when adding to a project from the web console. You can also use oc new-app python~<repo-url> from the command line using the oc client.

For examples of a few Django applications set up to use a production WSGI server see:

The repos provide some instructions of deploying the examples and how to set appropriate environment variables.