[Capistrano] Re: Some questions!

2007-04-06 Thread goodieboy
Hey Jamis, thank you for all of your help! I now have it working but still need to tweak things after a delpoyment. Mainly permissions and re-starting apache manually... need to get my app role user the correct permissions. I'm wondering if there is a reference somewhere that explains the differe

[Capistrano] Re: Some questions!

2007-04-05 Thread Jamis Buck
Looks about right, except you shouldn't need to bump apache. If you _do_ need to bump apache, it should be in a separate task, specific to the :web role; that'll bite you as-is the moment you need to split your app and web roles onto separate machines. The existing Capistrano deployment rec

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
OK, fixed that completely invalid mess.. That was just my idea. Here is what I'm about to try: desc "The spinner task is used by :cold_deploy to start the application up" task :spinner, :roles => :app do run "/usr/local/blacklight/httpd/bin/apachectl stop" run "/usr/local/blacklight/httpd/bin

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
Welll right now I just want to get the server started, and start the mongrel cluster. I was just about to try this out. Does this make sense? Any suggestions? :) desc "The spinner task is used by :cold_deploy to start the application up" task :spinner, :roles => :app do send(run_method, "/u

[Capistrano] Re: Some questions!

2007-04-05 Thread Jamis Buck
On Apr 5, 2007, at 2:24 PM, goodieboy wrote: > Also, when it gets to the end... it says that the scripts/spinner did > not get executed. That's because it's not there. I'm using mongrel > clusters, what should I do to get that to work? What task are you executing? - Jamis > > matt > > On Apr 5

[Capistrano] Re: Some questions!

2007-04-05 Thread Jamis Buck
On Apr 5, 2007, at 2:28 PM, goodieboy wrote: > OK thank you, > > So I setup keys for the ssh user... is it possible to set it up for > the svn user also? Yes, if you are using svn+ssh to access your repository. - Jamis > > matt > > On Apr 5, 4:26 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: >> On

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
OK thank you, So I setup keys for the ssh user... is it possible to set it up for the svn user also? matt On Apr 5, 4:26 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > On Apr 5, 2007, at 2:18 PM, goodieboy wrote: > > > Great. I have it working now! Is it possible to have it so the output > > can N

[Capistrano] Re: Some questions!

2007-04-05 Thread Jamis Buck
On Apr 5, 2007, at 2:18 PM, goodieboy wrote: > Great. I have it working now! Is it possible to have it so the output > can NOT show the username and password? If you set up public keys and use those you can get rid of the password, but there's no way to avoid the use of the username in the s

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
Also, when it gets to the end... it says that the scripts/spinner did not get executed. That's because it's not there. I'm using mongrel clusters, what should I do to get that to work? matt On Apr 5, 4:18 pm, "goodieboy" <[EMAIL PROTECTED]> wrote: > Great. I have it working now! Is it possible t

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
Great. I have it working now! Is it possible to have it so the output can NOT show the username and password? Also, the line breaks in my output are "\n". Is there a way to fix that? Thank you! matt On Apr 5, 4:15 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > You can tell subversion to use a diff

[Capistrano] Re: Some questions!

2007-04-05 Thread Jamis Buck
You can tell subversion to use a different username+password by setting a couple variables: set :svn_username, "my svn username" set :svn_password, "my svn password" If you don't want to set the password explicitly in your recipe like that, you can make capistrano prompt you for it lik

[Capistrano] Re: Some questions!

2007-04-05 Thread goodieboy
Thank you for that. I've gotten a little farther from that and now have... well more questions! My svn user is different than the current logged in user executing cap commands. My svn server address is like: https://svn.com/respos/project-root/rails-root How exactly would the script now how to l

[Capistrano] Re: Some questions!

2007-04-04 Thread Jamis Buck
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 r