I recommend you read the code (in my linux the path is
/usr/local/lib/ruby/gems/1.8/gems/capistrano-2.1.0/lib/capistrano/recipes/deploy.rb).
Then look deploy task:
namespace :deploy do
desc <<-DESC
Deploys your project. This calls both `update' and `restart'. Note
that \
this will generally only work for applications that have already
been deployed \
once. For a "cold" deploy, you'll want to take a look at the
`deploy:cold' \
task, which handles the cold start specifically.
DESC
task :default do
update
restart
end
Then follow the tasks update and restart:
desc <<-DESC
....
DESC
task :update do
transaction do
update_code
symlink
end
end
... and so on
Regards
jsmorris escribió:
> I have been searching, but I cannot seem to find anything like this.
>
> Is there something that shows the list of the capistrano tasks that
> get executed when calling cap deploy, including the possible :before_
> and :after_ tasks? I can use cap -T, but I am more interested in the
> order and even more important, see the tasks I don't know.
>
> I am struggling to learn them all and a diagram or simple outline
> showing order would be a great cheatsheet for nubies like me.
>
> Thanks,
> Jason
>
> >
>
>
--
Rafael Garcia Ortega
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---
begin:vcard
fn;quoted-printable:Rafael Garc=C3=ADa Ortega
n;quoted-printable:Garc=C3=ADa Ortega;Rafael
org:ASPgems S.L.
email;internet:[EMAIL PROTECTED]
tel;work:692686533
x-mozilla-html:FALSE
url:http://www.aspgems.com
version:2.1
end:vcard