【发布时间】:2015-08-26 17:17:18
【问题描述】:
在 openshift 上意外损坏了我的烧瓶应用程序后,我将其删除并尝试重建它。我相信我已经通过创建一个新的 python 应用程序正确安装了它,然后执行:
$ git remote set-url origin ssh://55ddee2489f5.......@myapp-mydomain.rhcloud.com/~/git/myapp.git/
$ git push -f origin master
然后
remote: Activation status: success
remote: Deployment completed with status: success
To ssh://55ddee248........c@myflaskapp-mydomain.rhcloud.com/~/git/myflaskapp.git/
+ 068620c...00df6fb master -> master (forced update)
接下来我要添加一个 redis 墨盒。
$ rhc add-cartridge http://cartreflect-claytondev.rhcloud.com/reflect\?github\=smarterclayton/openshift-redis-cart
The cartridge 'http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart' will be downloaded and installed
Adding http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart to application 'myflaskapp' ... Application '5585ab144.......'
not found.
如您所见,墨盒被部署到旧位置“5585ab144.......”,而不是 ssh://55ddee248........c@myflaskapp-mydomain.rhcloud.com /~/git/myflaskapp.git/
我该如何解决这个问题?
【问题讨论】:
标签: python git flask redis openshift