On Apr 4, 2007, at 8:56 AM, goodieboy wrote:

> Just getting Capistrano running on an app here. The application I'm
> running is served by mongrel clusters via apache. The application is
> actually in a sub-directory. So... would I set role :web, "http://
> www.domain.com/myapp-sub-folder"?

The role is simply the machine itself, e.g.:

   role :web, "www.domain.com"

You would specify the actual path you are deploying to in  
the :deploy_to variable:

   set :deploy_to, "/full/path/of/myapp-sub-folder"

Note that this folder will then contain the "releases" and "shared"  
directories, created for you by `cap setup'. Each time you deploy, a  
new directory is added under the #{deploy_to}/releases directory, and  
symlinked via #{deploy_to}/current.

> Also, the svn repository has a sub folder for the app. So would I also
> set that to the sub folder like:
> set :repository, "https://mysvn.com/svn-repository-root/
> #{application}"

Put, for the repository, whatever you would use when running  
subversion on the command-line. In other words, if the following  
works for you:

   svn co https://mysvn.com/svn-repository-root/application

Then that URL is what you would put for the :repository variable:

   set :repository, "https://mysvn.com/svn-repository-root/application";

- Jamis


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to