How to create and configure a Python Django application for OpenShift, which should also run on the local machine.
Here I am very confused when I saw the directory structure of the created project rhcand the django-admin.pycreated project. Both create different directory structures and files.
RHC Creates:
dj17test/
βββ app.py.disabled
βββ data
βββ libs
βββ README.md
βββ setup.py
βββ wsgi
βββ application
βββ static
βββ README
django-admin.py Creates:
dj17_created_by_dj_admin/
βββ dj17_created_by_dj_admin
β βββ __init__.py
β βββ settings.py
β βββ urls.py
β βββ wsgi.py
βββ manage.py
How will I combine both to work in the OpenShift ( rhc) cloud , as well as on the local computer using python manage.py runserver?
source
share