1

好きなアプリ名で Heroku にアプリを立ち上げましたが、コードベースは使用するつもりはありません。望まないプロジェクトのアプリの名前を変更しました。次に、作業中の新しいアプリを使用して Cedar にプッシュし、作業を停止した元のアプリ名を使用して、必要なプロジェクトの名前を明示的に宣言しました。そのアプリ名に移動すると、新しいアプリをそこに押し上げたにもかかわらず、古いアプリしか表示されません。開発中の新しいアプリを気に入ったアプリ名で動作させるにはどうすればよいですか?

Herokuのすべてを手動で削除してから、「git push heroku master」をもう一度実行する必要があると想定していますが、私はまだこれらすべてに慣れていないので、適切な手順を知りたいです.

ありがとうございました。

Here is what I mean:
http://AppNameILike.heroku.com
#rename it to:
http://AppNameIlike-OLD.heroku.com
#create new heroku app with new project (notice recycling the name I like):
http://AppNameILike.heroku.com
#This new app still shows my old app
4

1 に答える 1

2

herokuの名前変更コマンドを使用しましたか?

http://devcenter.heroku.com/articles/renaming-apps

$ heroku rename newname
http://newname.heroku.com/ | git@heroku.com:newname.git
Git remote heroku updated

herokuアプリのサブドメインを変更すると、git push url(つまり、heroku git remote)が変更されます。したがって、herokuへの正しいgit "connection"を取得するには、herokurenameコマンドも使用する必要があります。

于 2011-12-04T20:36:42.567 に答える