我有一個現有的Django應用程序在Bitbucket上,我可以deploy to Heroku whith hg-git
。每當我想我的應用程序文件夾中運行一些命令的Heroku我得到以下錯誤:如何鏈接一個文件夾與現有的Heroku應用程序與mercurial
$ heroku ps
! No app specified.
! Run this command from an app folder or specify which app to use with --app <app name>
$ heroku logs
! No app specified.
! Run this command from an app folder or specify which app to use with --app <app name>
etc.
目前的解決方法是指定的應用程序名稱:heroku ps --app <app name>
但我正在尋找一種方式,以我的存儲庫名稱鏈接到遠程Heroku應用程序名稱,如how it's done using git。
我現在無法將應用程序移動到github。
注意:如果您使用Git(不是這個問題,我知道,但我來這裏),你應該使用這個命令:「heroku git:remote -a app」 – dfrankow 2015-07-26 17:52:47