您的位置:首页 > 移动开发

no app specified on the heroku

2016-07-04 10:20 417 查看
No app specified.
Run this command from an app folder or specify which app to use with --app <app name>


为了解决这个问题,您需要添加一个远程heroku应用程序的Git存储库和告诉heroku宝石为默认使用它。答案找到了在这里。像这样。

git remote add heroku git@heroku.com:your-app-name.git
git config heroku.remote heroku


你现在可以 git push heroku master和运行 heroku config无需指定应用。我经常部署分支,这是 git push heroku branch-name:master.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git heroku app