2013/03/23

Heroku環境のアプリケーションを確認

アプリケーション一覧

以下のコマンドを実行すると自分のアカウントでHerokuにホストしているアプリケーションを確認することができます。


>heroku apps
=== My Apps
アプリケーションID1
アプリケーションID2

アプリケーションのメタ情報を取得

以下のコマンドを実行するアプリケーションのメタ情報を取得できます。
>heroku info --app アプリケーションID
=== アプリケーションID
Addons:        heroku-postgresql:dev
Git URL:       git@アプリケーションID.git
Owner Email:   xxx@xxx.xxx
Repo Size:     12M
Slug Size:     17M
Stack:         cedar
Web URL:       http://アプリケーションID.herokuapp.com/

アプリケーションを取得

infoオプションで確認したメタ情報のGit URLを指定してgit cloneすることによりアプリケーションを取得できます。
> git clone git@アプリケーションID.git

アプリケーションの状態を確認

> heroku ps

ログを参照

> heroku logs


0 件のコメント:

コメントを投稿