【问题标题】:How to configure webpy and MySQL on OpenShift如何在 OpenShift 上配置 webpy 和 MySQL
【发布时间】:2012-06-19 13:59:55
【问题描述】:

我想知道如何在 openshift 上部署 webpy to-do example。这是一个official webpy example,展示了如何在 openshift 上部署 webpy 应用程序,但这个示例不涉及 mysql。任何人都可以向我展示在 openshift 上部署 webpy 待办事项示例的演示吗?谢谢。

【问题讨论】:

标签: python mysql web.py openshift


【解决方案1】:

创建一个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

See here more

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-15
    • 2012-07-26
    • 1970-01-01
    • 2013-01-23
    • 2016-02-08
    • 2017-08-26
    • 2019-06-13
    • 1970-01-01
    相关资源
    最近更新 更多