Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsvgoncalves/django-openshift
https://github.com/jsvgoncalves/django-openshift
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsvgoncalves/django-openshift
- Owner: jsvgoncalves
- Created: 2015-09-08T10:44:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-30T12:42:48.000Z (almost 9 years ago)
- Last Synced: 2023-04-06T08:08:11.770Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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_NAMEAlso, create the database:
$ rhc ssh -a $APP_NAME
$ cd app-root/runtime/repo
$ python manage.py migrate