Find out the name of the app I'm running on?

2012-03-14 Thread vierundsech...@googlemail.com
This appears to be so simple that I feel a little dumb to ask it: Is there 
a way to find out the name of the app? I'm currently using an 
enviroment-variable that I set manually with heroku config:add 
APP_NAME=my_awesome_app - but I guess there should be a better way?!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/CAhUXCZbAcQJ.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Find out the name of the app I'm running on?

2012-03-14 Thread Keenan Brock
Hi V,

to see all your apps:

heroku list

to see your remote repository:

git remote -v

if you look at the heroku (or origin), you'll probably see your app name right 
before the .git


—Keenan


On Wednesday, March 14, 2012 at 2:42 AM, vierundsech...@googlemail.com wrote:

 This appears to be so simple that I feel a little dumb to ask it: Is there a 
 way to find out the name of the app? I'm currently using an 
 enviroment-variable that I set manually with heroku config:add 
 APP_NAME=my_awesome_app - but I guess there should be a better way?!  
  
 --  
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/heroku/-/CAhUXCZbAcQJ.
 To post to this group, send email to heroku@googlegroups.com 
 (mailto:heroku@googlegroups.com).
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com 
 (mailto:heroku+unsubscr...@googlegroups.com).
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Find out the name of the app I'm running on?

2012-03-14 Thread Neil Middleton
There's no direct way that I know of, however, if you're using NewRelic, you 
can see it in ENV[NEW_RELIC_APP_NAME] (assuming you've not renamed since 
setting it up).

The most foolproof way is exactly as you say, set your own key.

-Neil


On Wednesday, 14 March 2012 at 06:42, vierundsech...@googlemail.com wrote:

 This appears to be so simple that I feel a little dumb to ask it: Is there a 
 way to find out the name of the app? I'm currently using an 
 enviroment-variable that I set manually with heroku config:add 
 APP_NAME=my_awesome_app - but I guess there should be a better way?! 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/heroku/-/CAhUXCZbAcQJ.
 To post to this group, send email to heroku@googlegroups.com 
 (mailto:heroku@googlegroups.com).
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com 
 (mailto:heroku+unsubscr...@googlegroups.com).
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.