Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Capified this application

  • Loading branch information...
commit 340e82dd10f6b504cd9caafe0cd127fc6cc38c32 1 parent 476a236
xHire authored
Showing with 18 additions and 0 deletions.
  1. +3 −0  Capfile
  2. +15 −0 config/deploy.rb
View
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'
View
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.