Permalink
Browse files

preparing for capistrano

git-svn-id: svn+ssh://svn.threewisemen.ca/home/svn/main/twm/head/TWM-Website@4691 7757fc27-82d5-0310-81f1-f107cb22aa12
  • Loading branch information...
1 parent a52b7e2 commit c1c0a369b475e3a6f71639d6498f4c4f416901e2 steve committed Mar 30, 2009
Showing with 26 additions and 0 deletions.
  1. +3 −0 Capfile
  2. +23 −0 config/deploy.rb
View
@@ -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
@@ -0,0 +1,23 @@
+set :application, "TWM-Website"
+set :repository, "svn+ssh://cruiser@svn.threewisemen.ca/home/svn/main/twm/head/TWM-Website"
+
+# 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, "~/#{application}"
+
+# If you aren't using Subversion to manage your source code, specify
+# your SCM below:
+# set :scm, :subversion
+
+set :user, "twm"
+set :use_sudo, false
+
+set :mongrel_port, "3000"
+set :mongrel_address, "74.205.99.188"
+
+task :production do
+ role :app, "74.205.99.188"
+ role :web, "74.205.99.188"
+ role :db, "74.205.99.188", :primary => true
+end

0 comments on commit c1c0a36

Please sign in to comment.