Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ran capify, moved deploy.rb to deploy.rb.template (so as not to have a

deploy.rb under the general version control)
  • Loading branch information...
commit fc058e485b094a418632f002a69113265ab7f485 1 parent 45dd372
@hading hading authored
Showing with 26 additions and 0 deletions.
  1. +4 −0 Capfile
  2. +22 −0 config/deploy.rb.template
4 Capfile
@@ -0,0 +1,4 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+load 'config/deploy' # remove this line to skip loading any of the default tasks
22 config/deploy.rb.template
@@ -0,0 +1,22 @@
+set :application, "set your application name here"
+set :repository, "set your repository location here"
+set :scm, :subversion
+# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
+role :web, "your web-server here" # Your HTTP server, Apache/etc
+role :app, "your app-server here" # This may be the same as your `Web` server
+role :db, "your primary db-server here", :primary => true # This is where Rails migrations will run
+role :db, "your slave db-server here"
+# If you are using Passenger mod_rails uncomment this:
+# if you're still using the script/reapear helper you will need
+# these
+# namespace :deploy do
+# task :start do ; end
+# task :stop do ; end
+# task :restart, :roles => :app, :except => { :no_release => true } do
+# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
+# end
+# end
Please sign in to comment.
Something went wrong with that request. Please try again.