我正在尝试将 Django 应用程序部署到 Heroku,但是当我运行以下命令时出现这个奇怪的错误。
知道为什么会这样吗?我用谷歌搜索了它,但没有找到任何有用的信息。
root@ubuntu:~/Desktop/djangos/jobs# git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
在此先感谢您的任何提示/帮助!
最佳答案
我有同样的问题,通过 $ heroku keys:add
将你的 ssh key 添加到 heroku。
查看我的博文 http://www.codesucksmybrain.blogspot.com/2012/04/deploy-django-app-on-heroku-platform.html
关于python - Django 应用程序的 Heroku 部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10643447/