Git:部署应用程序失败:找不到应用程序名称
Git: Failed to deploy application: Could not find app name
我想将 Java 应用程序从 Eclipse 部署到 Heroku。当我想部署应用程序时,构建失败。出现错误信息:
无法部署应用程序:找不到应用程序名称:Git 找不到存储库。您在创建应用程序之前是否初始化了一个?
在我已经输入的项目文件夹中的控制台中 "git init"。在项目的文件夹中不存在 .git 文件夹
感谢帮助!
您需要按照一系列步骤来部署代码。包括init
、add
、commit
、add remote
、push
、pull
等
参考simple git tutorial and Heroku's documentation for deployment through Git.
如果您在 github 上托管您的代码,heroku 有一个非常简单的集成,检查 this docs
我想将 Java 应用程序从 Eclipse 部署到 Heroku。当我想部署应用程序时,构建失败。出现错误信息:
无法部署应用程序:找不到应用程序名称:Git 找不到存储库。您在创建应用程序之前是否初始化了一个?
在我已经输入的项目文件夹中的控制台中 "git init"。在项目的文件夹中不存在 .git 文件夹
感谢帮助!
您需要按照一系列步骤来部署代码。包括init
、add
、commit
、add remote
、push
、pull
等
参考simple git tutorial and Heroku's documentation for deployment through Git.
如果您在 github 上托管您的代码,heroku 有一个非常简单的集成,检查 this docs