To piggyback on this question - how do people handle staging vs. live? Do you point at the same repo. but use different branches to deploy, or something else?

Wes

On 12/30/10 7:35 AM, femto Zheng wrote:
Yes, that's it, thanks for the info.


On Thu, Dec 30, 2010 at 8:17 PM, Steve Smith <[email protected] <mailto:[email protected]>> wrote:

    I'm not sure I quite understand your question but if you are
    saying for example you have two heroku sites setup but they share
    the same repository (like staging and live) then you can specify
    --app as part of the heroku command line tool.

    Such as:

    $ heroku info --app cloudmailin


    On 30 Dec 2010, at 11:45, femto Zheng wrote:

    > Hello, I'm running into a situation,
    > while my live site is up and running in heroku,
    > some part I need to ask others to modify.
    >
    > so say,
    > I have myapp point to [email protected]:myapp.git,
    > then I want to add a new app/repo to use as a collabor repo,
    > then say,
    > in my local myapp project, I git remote add
    [email protected]:myapp-pre.git(which I created),
    > then I git push myapp-pre master, then use it as a collabor
    repository.
    >
    > The question is, then the several heroku commands,
    > like heroku console, heroku rake etc, how do they know to find
    > which repo/app to work with? That's an interesting question,
    > and I don't want to two environment mess up together.
    >
    >
    > --
    > You received this message because you are subscribed to the
    Google Groups "Heroku" group.
    > To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    > To unsubscribe from this group, send email to
    [email protected]
    <mailto:heroku%[email protected]>.
    > 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 [email protected]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:heroku%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/heroku?hl=en.




--
http://hi.baidu.com/femto
http://bbs.aisiming.com/

--
You received this message because you are subscribed to the Google Groups "Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to