简体   繁体   English

Heroku入门-git push heroku master无限期挂起?

[英]Getting started with Heroku- git push heroku master hangs indefinitely?

I have been following the "Getting Started With Python on Heroku" tutorial located here and everything works as expected. 我一直在关注“入门使用Python在Heroku”教程位于这里 ,一切都按预期工作。 However, when I try to execute the final 'git push heroku master' command, nothing happens. 但是,当我尝试执行最终的“ git push heroku master”命令时,什么也没有发生。 There is no output, it just hangs. 没有输出,只是挂起。

My heroku remote shows up when I do 'git remote -v', my Procfile and requirements.txt are in place, and I have no issues pushing to Github from my terminal. 当我执行'git remote -v'时,我的heroku遥控器出现了,我的Procfile和requirements.txt就位,并且从终端推送到Github时没有问题。

Is there something I'm missing? 有什么我想念的吗? Any help would be greatly appreciated! 任何帮助将不胜感激!

Have you created an app heroku create <appname> ? 您是否创建了一个应用程序heroku create <appname>

Do you have git setup on your terminal/command line? 您在终端/命令行上是否安装了git?

Maybe try re-installing Heroku. 也许尝试重新安装Heroku。

You don't give too much info, so this is all I can help with for now. 您不会提供太多信息,所以这是我目前能提供的所有帮助。

I just had this problem while going through the same tutorial. 在同一教程中,我只是遇到了这个问题。 The solution for me was to change the firewall settings on my gateway/router. 对我来说,解决方案是更改网关/路由器上的防火墙设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM