Not getting the Template Repository Layout after deploying Python 2.7 on openshift

a 夏天 提交于 2019-12-11 18:55:16

问题


I am trying to to deploy django-cms on openshift. However, after creating a Python 2.7 application (with rhc app create django-cms python-2.7), I don't get the default template layout described in the doc. Instead I get only 3 files: requirements.txt, setup.py and wsgi.py; and the openshift folder.

Is this normal? Should I rebuild the layout from there?


回答1:


Yes, this is normal. There are lots of examples on python / openshift on github.

I wrote one for django, https://github.com/jfmatth/openshift-django16



来源:https://stackoverflow.com/questions/22421741/not-getting-the-template-repository-layout-after-deploying-python-2-7-on-openshi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!