Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jsvgoncalves/django-openshift


https://github.com/jsvgoncalves/django-openshift

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# Django on Openshift

To make this work with Openshift run:

$ APP_NAME=yourapp
$ rhc env set OPENSHIFT_PYTHON_WSGI_APPLICATION=django_exp/wsgi.py -a $APP_NAME
# You may need to restart your app
$ rhc app-restart -a $APP_NAME

Also, create the database:

$ rhc ssh -a $APP_NAME
$ cd app-root/runtime/repo
$ python manage.py migrate