Howdy--I've got a scenario that I believe must be common and yet I can
find no google search to locate it. Here it is:
  1. I have a own centralized GIT repository. Say [EMAIL PROTECTED]:apps-
and-more.git
  2. I have a heroku app in a subdirectory of the repository. Say /
server-app.
  3. I want to deploy the app to heroku.

There are two solutions that I see, neither do I know how to
accomplish:

1. Deploy the /server-app application to Heroku.
------
This is a good idea, but Heroku relies on GIT for its deployment
mechanism. GIT allows remote repositories, so if my app was in the
root of my central repository, I could simply do this:
[local-computer:/projects/apps-and-more] git remote add heroku
[EMAIL PROTECTED]:apps-and-more.git
[local-computer:/projects/apps-and-more] git push heroku

However, my app is actually in a subdirectory of the repository. I see
no method of remote pushing a subdirectory. Is this possible? Is there
an alternative deployment method than GIT (e.g. a capistrano recipe
that could do a non git-based deploy)?

2. Deploy the whole repository to Heroku, but configure Heroku to run
only a single app.
------
I looked to do this as well; however, Heroku relies on your app being
at the root of your repository and this does not seem to be a user
configurable parameter. Is this a possible approach?

Now--why do I have multiple apps in one git repo? The repository
contains a collection of apps that go hand in hand and there is no
good reason to split them into independent repositories from a
development and management point of view. There's also external
factors that encourage consolidating to one repository.

Is anyone else in this situation? Does anyone have any suggestions on
this deployment approach?

Regards,
Jonathan
--~--~---------~--~----~------------~-------~--~----~
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