public
Fork of mbailey/deprec
Description: master respository for deprec - deployment recipes for capistrano
Homepage: http://www.deprec.org/
Clone URL: git://github.com/paulreimer/deprec.git
Search Repo:
tidied up

git-svn-id: svn://scm.deprecated.org/deprec/trunk@444 
479ab18a-db23-0410-b897-fa3724b950b0
mbailey (author)
Sat Mar 29 02:50:32 -0700 2008
commit  3c77c8e98eae15ece2cbb76d72a9eb6d6994c203
tree    378c3cdcce28220e077d12aae5e79c496de2fea0
parent  d996370f19beb10f7af58eb462b29bdf0058b982
...
73
74
75
76
77
 
78
79
 
 
 
 
 
80
81
82
...
86
87
88
89
90
91
92
93
94
95
...
73
74
75
 
76
77
78
79
80
81
82
83
84
85
86
87
...
91
92
93
 
 
 
 
94
95
96
0
@@ -73,10 +73,15 @@ files = {
0
     require 'deprec'
0
   
0
     set :application, "set your application name here"
0
- set :repository, "set your repository location here"
0
     set :domain, "set domain name project will be served on here"
0
+ set :repository, "svn+ssh://\#{domain}/var/www/apps/\#{application}/repos"
0
     # set :gems_for_project, %w(dr_nic_magic_models swiftiply) # list of gems to be installed
0
     
0
+ # Update these if you're not running everything on one host.
0
+ role :app, domain
0
+ role :web, domain
0
+ role :db, domain, :primary => true
0
+ role :scm, domain # used by deprec if you want to install subversion
0
 
0
     # If you aren't deploying to /var/www/apps/\#{application} on the target
0
     # servers (which is the deprec default), you can specify the actual location
0
@@ -86,10 +91,6 @@ files = {
0
     # If you aren't using Subversion to manage your source code, specify
0
     # your SCM below:
0
     # set :scm, :subversion
0
-
0
- role :app, "your app-server here"
0
- role :web, "your web-server here"
0
- role :db, "your db-server here", :primary => true
0
     
0
     namespace :deploy do
0
       task :restart, :roles => :app, :except => { :no_release => true } do

Comments

    No one has commented yet.