Thanks for the follow-up Marnen.  Yeah I like to use parens and quotes 
for emphasis - I'd much rather use quotes - but I don't see anything 
about that here.  Anyhoo, that's another issue altogether.

So, here's my logic and understanding of this subject and yes, it's not 
very large.. heh.

>From what I understand, Capistrano is the tool that is used to deploy 
the application to your server.  It has nothing to do with 
apache/passenger etc.  correct?

Secondly, passenger is a front-end piece and apache is the back-end 
piece of the server setup correct?  If I didn't want to use passenger, I 
could use mongrel in it's place?  Not saying I would do this but just 
clarifying for understanding..

In order of priority configurations:

Apache first
Passenger Second
.. that handles the server end?

I believe where I'm getting confused is that I'm looking at all of it at 
once and it's making my head hurt a bit.

Is there documentation on setting up apache with rails?  Prepping?  Link 
please.

Is there documentation on setting up passenger with apache? Prepping? 
Link please.

How does capistrano tie in with git and my server?  For instance, I see 
the following as an example configuration:

set :application, "ncaastatpages"
# GITHUB BELOW
# Set Putty True to instantiate a passphrase call
default_run_options[:pty] = true
# Set the git repository
set :repository,  "[email protected]:myuser/ncaastatpages.git"
# Specify which subversion or repository SCM to use
set :scm, :git
# Set your GIT password
set :scm_passphrase, "mypassword"
# Set your GIT user (this might need to be the same all the way around)
set :user, "myuser"
# If you're using your own private keys for git
# ssh_options[:forward_agent] = true
# Set the branch type
set :branch, "master"
# Shallow cloning will do a clone each time, but will only get the first 
tree, not all the parents trees, too.
# set :git_shallow_clone, 1
# If you're using git's submodule support for edge rails or merb, set 
this guy to make sure the submodules "git" checked out.
set :git_enable_submodules, 1
# Set remote cache you want to only force new changes only, fetching 
changed data
set :deploy_via, :remote_cache

# Set the role for your web server
role :web, "ncaastatpages.com"

I only see one repository (for my current git repo), but how does it 
know where to send it to?  I.e. where in capistrano do you tell it where 
to deploy to?  I don't see anywhere in here where I am setting my server 
and the port.  I use a different SSH port so I need to set that 
somewhere too.

I've read the documentation but it doesn't appear to talk about this. 
I'm not using Ruby EE by the way - just a heads up.

I commented everything myself above to show you what I believe is 
happening.  If I'm incorrect, please let me know.  Let's bring this 
topic closer to capistrano usage first and I'll work with one piece and 
iron out the others after I get capistrano logic down.


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to