我想知道如何在openshift上部署webpy to-do example。这里有一个official webpy example演示如何在openshift上部署webpy应用程序,但是这个例子不涉及mysql。有人能给我演示一下在openshift上部署webpy to-do示例吗?谢谢。

最佳答案

创建一个python应用程序:

rhc app create -a webpy -t python-2.7

添加此上游webpy repo
cd webpy
git remote add upstream -m master https://github.com/openshift/webpy-example.git
git pull -s recursive -X theirs upstream master

然后将回购推向上游
git push

See here more

09-30 12:06