【问题标题】:Deploy Play 2.2.1 App to Heroku将 Play 2.2.1 应用部署到 Heroku
【发布时间】:2014-01-06 19:29:32
【问题描述】:

我在尝试将本地 git 存储库添加到 heroku 时遇到问题。我使用 heroku create 命令创建了一个远程 heroku。

$ heroku create
Creating falling-wind-1624... done, stack is cedar
http://falling-wind-1624.herokuapp.com/ | git@heroku.com:falling-wind-1624.git
Git remote heroku added

但是,我在控制台上没有看到“添加了 Git 远程 heroku”。我不确定这是否是我尝试将 Play 应用程序部署到 Heroku 时遇到的原因。

即使在做

$ heroku git:remote -a falling-wind-1624

不显示任何内容,后来当我输入 git remote -v 时,我没有看到添加的 heroku git repo。

【问题讨论】:

    标签: git heroku playframework-2.2


    【解决方案1】:

    我不确定为什么您没有看到列出的遥控器,但您可以通过以下方式添加它:

    git remote add heroku git@heroku.com:falling-wind-1624.git
    

    如果您随后运行 git remote -v,您应该会看到一个 heroku 条目。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多