【问题标题】:Clone a github app to heroku将 github 应用克隆到 heroku
【发布时间】:2013-01-18 00:43:10
【问题描述】:

我是新手,我想将一个应用从 github 克隆到 heroku。我试过这个命令

heroku git:clone git@github.com:[Creator]/[APPname].git [HerokuappDirectory]

但我得到Resource Not Found

【问题讨论】:

    标签: heroku github push git-clone


    【解决方案1】:

    使用 git clone git@github... 像往常一样克隆 repo。然后 cd 进入目录并运行 heroku create [an optional app name] 。然后,您将设置两个 Git 遥控器,一个用于 repo(原点),一个用于 heroku 应用程序(heroku)。然后'git push heroku master'将部署到heroku。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-01-18
      • 1970-01-01
      • 1970-01-01
      • 2012-08-01
      • 1970-01-01
      • 2013-08-04
      • 2019-05-15
      相关资源
      最近更新 更多