我想知道如何部署 webpy to-do example在开类。这是一个 official webpy example显示如何在 openshift 上部署 webpy 应用程序,但此示例不处理 mysql。任何人都可以向我展示在 openshift 上部署 webpy 待办事项示例的演示吗?谢谢。
最佳答案
创建一个 python 应用程序:
rhc app create -a webpy -t python-2.7
添加这个上游 webpy 仓库
cd webpy
git remote add upstream -m master https://github.com/openshift/webpy-example.git
git pull -s recursive -X theirs upstream master
然后向上游推送repo
git push
关于python - 如何在 OpenShift 上配置 webpy 和 MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11068625/