Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added default capistrano files

  • Loading branch information...
commit 9befac324cb624269397f09ce9a321927295d805 1 parent fcd381f
@ariejan ariejan authored
Showing with 18 additions and 0 deletions.
  1. +3 −0  Capfile
  2. +15 −0 config/deploy.rb
3  Capfile
@@ -0,0 +1,3 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+load 'config/deploy'
15 config/deploy.rb
@@ -0,0 +1,15 @@
+set :application, "set your application name here"
+set :repository, "set your repository location here"
+# If you aren't deploying to /u/apps/#{application} on the target
+# servers (which is the default), you can specify the actual location
+# via the :deploy_to variable:
+# set :deploy_to, "/var/www/#{application}"
+# If you aren't using Subversion to manage your source code, specify
+# your SCM below:
+# set :scm, :subversion
+role :app, "your app-server here"
+role :web, "your web-server here"
+role :db, "your db-server here", :primary => true
Please sign in to comment.
Something went wrong with that request. Please try again.