簡體   English   中英

如何在OpenShift上配置Webpy和MySQL

[英]How to configure webpy and MySQL on OpenShift

我想知道如何在openshift上部署webpy 待辦事項示例 這是一個官方的webpy示例,顯示了如何在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

然后將回購推到上游

git push

在這里看到更多

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM