public this repo is viewable by everyone
Clone URL: git://github.com/robbyrussell/rubyurl.git
Git-ifying the capistrano recipre for deployment to rubyurl.com
Robby Russell (author)
2 months ago
commit  fc76e8be89cbcc075a8d07e211cc3f64007c319b
tree    2a751e36abe55246b20c3b11928e6a4268f65e41
parent  4f14ea9a6a16a5c12a920ec7402e08ebe238e0b5
...
26
27
28
29
30
 
 
 
 
 
 
31
32
33
...
66
67
68
69
70
71
 
 
 
72
73
74
...
226
227
228
 
 
229
230
...
26
27
28
 
 
29
30
31
32
33
34
35
36
37
...
70
71
72
 
 
 
73
74
75
76
77
78
...
230
231
232
233
234
235
236
0
@@ -26,8 +26,12 @@ set :boxcar_username, 'rubyurl'
0
 # Where is your source code repository?
0
 # Example:
0
 # set :repository = 'http://svn.railsboxcar.com/my_cool_app/tags/CURRENT'
0
-set :svn_username, 'rubyurl'
0
-set :svn_repository_url, 'https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk'
0
+# set :svn_username, 'rubyurl'
0
+# set :svn_repository_url, 'https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk'
0
+
0
+set :repository, "git://github.com/robbyrussell/rubyurl.git"
0
+set :scm, "git"
0
+# set :scm_passphrase, "p00p"
0
 
0
 # What database server are you using?
0
 # Example:
0
@@ -66,9 +70,9 @@ set :domain_names, Proc.new { HighLine.ask("What is the primary domain name?") {
0
 
0
 # subversion / SCM
0
 # Ask the user for their subversion password
0
-set :svn_password, Proc.new { HighLine.ask("What is your subversion password for #{svn_username}: ") { |q| q.echo = "x" } }
0
-set :repository, Proc.new { "--username #{svn_username} " + "--password #{svn_password} " + "#{svn_repository_url}" }
0
-set :checkout, 'export'
0
+# set :svn_password, Proc.new { HighLine.ask("What is your subversion password for #{svn_username}: ") { |q| q.echo = "x" } }
0
+# set :repository, Proc.new { "--username #{svn_username} " + "--password #{svn_password} " + "#{svn_repository_url}" }
0
+# set :checkout, 'export'
0
 
0
 set :db_development,database_name[:development]
0
 set :db_test, database_name[:test]
0
@@ -226,5 +230,7 @@ end
0
 desc "Link in the production database.yml"
0
 task :after_update_code do
0
   run "ln -nfs #{shared_dir}/config/database.yml #{release_path}/config/database.yml"
0
+
0
+ run "ln -nfs #{shared_dir}/log #{release_path}/log"
0
 end
0
 

Comments

    No one has commented yet.