capistrano no longer uses the rake command - just use "cap deploy"
cap works just fine if you have an svn set up, and a public and config dirs. I'd be happy to help off this list if you'd like (or we can do it out here if that would be helpful) On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I've got some PHP and also some PERL that I'd like to work with. I found a couple of PHP articles onilne, but none really walked me through the steps, they seemed to require some knowlege of how Capistrano works. I've tried going through the manual, but I get stuck when it tells me to execute my application by running 'rake deploy'. I'm not using Rails, so I don't have any rake files. I think once I get over the initial hump it will be clearer. Perhaps someone out there wouldn't mind explaining how to make a simple recipe that just uses the apache restart task from the manual, and how to execute that task from a command line? I'd be very grateful. Sean wrote: > Hey, > > What apps are you thinking of? I recall seeing stuff about PHP and > Java deployments using capistrano somewhere a while back. Knowing what > you have in mind would help people point you in the right direction. > > Regards, > > Sean > > On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > I'd like to use Capistrano to deploy some non-Rails apps that I use. I > > have been looking for documentation, and the Cap manual uses RoR for > > its examples - Unfortuantely, I'm not familiar enough with RoR to adapt > > the information for my needs. > > > > If anyone has some experience and wouldn't mind answering some basic > > questions, I'd be grateful. > > > > Specifically, I'm looking to: > > > > 1. Deploy/Update applications from SVN to multiple web servers > > 2. Restart my web servers > > 3. Run a database backup routine and move the files to a backup > > directory > > > > It seems like the basic idea is you create a task in your recipe, then > > specify that task as a command line argument. (Unfortunately, that's > > about as far as I've gotten with it) > > > > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
