【发布时间】:2012-12-04 12:24:41
【问题描述】:
我一直在尝试使用教程@将 wordpress 部署到 heroku 应用程序上 http://decielo.com/articles/350/wordpress-on-heroku-up-and-running
一切正常,花花公子,直到...
18:25:53-~/code/abc_wordpress$ git push production master
Counting objects: 1080, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1058/1058), done.
Writing objects: 100% (1080/1080), 4.48 MiB | 174 KiB/s, done.
Total 1080 (delta 66), reused 0 (delta 0)
-----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:abc_wordpress.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:abc_wordpress.git'
也供参考
18:25:50-~/code/abc_wordpress$ git remote -v
production git@heroku.com:abc_wordpress.git (fetch)
production git@heroku.com:abc_wordpress.git (push)
还有这个……
18:21:48-~/code/abc_wordpress$ heroku config
=== abc_wordpress Config Vars
CLEARDB_DATABASE_URL: mysql://...
DATABASE_URL: mysql://...
发生了什么事?
【问题讨论】:
-
另外,您刚刚在公共论坛上发布了您的数据库凭据。您可能应该在某人做某事之前让那些轮换。
-
谢谢 - 数据库和 url 是虚拟名称,不存在 - 不过我很感激这个提示