Changeset 849

Show
Ignore:
Timestamp:
10/31/07 14:26:56 (10 months ago)
Author:
evanweaver
Message:

readme

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/mongrel_cluster/README

    r641 r849  
    1515  mongrel_rails cluster::stop 
    1616 
    17 == Capistrano 1.0 Recipes 
     17== Capistrano Recipes 
    1818 
    1919Add to config/deploy.rb: 
     
    2929  mongrel_group: Group to run mongrels in cluster as. Unset by default. 
    3030 
    31 Tasks (performed on :app role) 
    32   configure_mongrel_cluster: Configure the cluster with variables. 
    33   start_mongrel_cluster: Start Mongrel processes on the app server. 
    34   stop_mongrel_cluster: Stop the Mongrel processes on the app server. 
    35   restart_mongrel_cluster: Restart the Mongrel processes on the app server by starting and stopping mongrel_cluster. 
    36   restart: Calls restart_mongrel_cluster to allow Mongrel to be used with the standard Capistrano deploy task. 
    37   spinner: Calls start_mongrel_cluster to allow Mongrel to be used with the standard Capistrano cold_deploy task. 
     31On Capistrano 2 you get then get the following tasks: 
    3832 
    39 == Capistrano 2.0 Recipes 
    40  
    41 Add to config/deploy.rb: 
    42   require 'mongrel_cluster/recipes_2' 
    43  
    44 Capistrano 2.0 uses namespaced tasks. The new task names are: 
    4533  mongrel:cluster:configure Configure the cluster with variables. 
    4634  mongrel:cluster:start: Start Mongrel processes on the app server. 
     
    5038  deploy:start: Calls mongrel:cluster:start to allow Mongrel to be used with the standard Capistrano deploy task. 
    5139  deploy:stop: Calls mongrel:cluster:stop to allow Mongrel to be used with the standard Capistrano deploy task. 
     40   
     41On Capistrano 1 you get the same tasks, but without the namespace:   
     42 
     43  configure_mongrel_cluster: Configure the cluster with variables. 
     44  start_mongrel_cluster: Start Mongrel processes on the app server. 
     45  stop_mongrel_cluster: Stop the Mongrel processes on the app server. 
     46  restart_mongrel_cluster: Restart the Mongrel processes on the app server by starting and stopping mongrel_cluster. 
     47  restart: Calls restart_mongrel_cluster to allow Mongrel to be used with the standard Capistrano deploy task. 
     48  spinner: Calls start_mongrel_cluster to allow Mongrel to be used with the standard Capistrano cold_deploy task. 
    5249 
    5350== Starting clusters at boot