在openshift上部署Python 2.7之后,没有获得模板存储库布局 [英] Not getting the Template Repository Layout after deploying Python 2.7 on openshift

查看:161
本文介绍了在openshift上部署Python 2.7之后,没有获得模板存储库布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在openshift上部署django-cms。但是,在创建了一个Python 2.7应用程序(使用 rhc app create django-cms python-2.7 )后,我没有得到默认的模板布局。相反,我只得到3个文件:requirements.txt,setup.py和wsgi.py;和openshift文件夹。

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?

推荐答案

是的,这是正常现象。在github上有很多python / openshift的例子。

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

我为django写了一个, https://github.com/jfmatth/openshift-django16

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

这篇关于在openshift上部署Python 2.7之后,没有获得模板存储库布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆