i want to deploy two rails application in heroku..so how can i deploy two application with one account in heroku and github..i am little confused that i have to take two rsa public key or how..thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/iaxIeTUSXDkJ. For more options, visit https://groups.google.com/groups/opt_out.
On Sat, Dec 1, 2012 at 6:46 AM, Bhimasen Routray <bhimasen.routray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i want to deploy two rails application in heroku..so how can i deploy two > application with one account in heroku and github..i am little confused that > i have to take two rsa public key or how..thanks in advanceThis list is for Rails, not Heroku. See: https://devcenter.heroku.com/articles/quickstart -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
I just use apps from different directories and they create new applications on heroku... no worries about public key etc. On Saturday, December 1, 2012 4:46:45 AM UTC-8, Bhimasen Routray wrote:> > i want to deploy two rails application in heroku..so how can i deploy two > application with one account in heroku and github..i am little confused > that i have to take two rsa public key or how..thanks in advance >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hz2WjrYzhYoJ. For more options, visit https://groups.google.com/groups/opt_out.
Hey Bhimasen, You can deploy multiple apps to Heroku with only one account and 1 public key. From your command line, go into the root directory of app 1 and deploy to Heroku. Then, go into the root of app 2, and deploy to Heroku. You will now have 2 apps on Heroku, each with their own unique URL. Hope that helps. On Saturday, December 1, 2012 4:46:45 AM UTC-8, Bhimasen Routray wrote:> > i want to deploy two rails application in heroku..so how can i deploy two > application with one account in heroku and github..i am little confused > that i have to take two rsa public key or how..thanks in advance >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/i6Sl88s8HMUJ. For more options, visit https://groups.google.com/groups/opt_out.
What you may miss off-the-bat is that Heroku''s copy of your app is
actually a git repository. It''s like github''s repository of
your code, but it is used for the special purpose of deploying the app.
When you do a deploy to heroku, you are pushing only your latest commits to the
master branch of the Heroku repository for your app.
Type "more .git/config" at the command line of one of your apps, you
will see a git remote for the heroku repository
[remote "heroku_abc_app"]
url = git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:abc-app.git
fetch = +refs/heads/*:refs/remotes/heroku/*
In my case, the name of my heroku app is abc-app (made up) but I''ve
attached it to a git identifier (just something I type at the command line)
called heroku_abc_app
To deploy this app, I would use:
git push heroku_abc_app master:master
This is saying I want to put my local master branch (the first
"master") to the master branch of the remote repository (the second
"master" after the colon) to the repository which is identified by
heroku_abc_app (defined in .git/config), in my case that repository happens to
be at git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:abc-app.git
You can also push a different branch to heroku, like this
git push heroku_abc_app some_branch:master
This is saying you want to push some_branch onto the master branch of your your
app. Be careful -- if you push a branch and then try to push another branch (or
master) onto a non-downstream git timeline, you will get rejected. You can
easily fix this with --force at the end of your command line.
Although Heroku''s git repository acts just like a real git repository,
most of us use github as the authoritative source for our app''s code
and the Heroku git setup only for deploying.
-Jason
On Dec 3, 2012, at 7:40 PM, Lee wrote:
> Hey Bhimasen,
>
> You can deploy multiple apps to Heroku with only one account and 1 public
key.
> From your command line, go into the root directory of app 1 and deploy to
Heroku.
> Then, go into the root of app 2, and deploy to Heroku.
>
> You will now have 2 apps on Heroku, each with their own unique URL.
>
> Hope that helps.
>
> On Saturday, December 1, 2012 4:46:45 AM UTC-8, Bhimasen Routray wrote:
> i want to deploy two rails application in heroku..so how can i deploy two
application with one account in heroku and github..i am little confused that i
have to take two rsa public key or how..thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/i6Sl88s8HMUJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.