Skip to content

Commit

Permalink
capified app
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhunter committed Oct 17, 2009
1 parent e22dbe4 commit 42eac78
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
.DS_Store
log/*.log
tmp/**/*
tmp/restart.txt
config/database.yml
db/*.sqlite3
4 changes: 4 additions & 0 deletions 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 changes: 22 additions & 0 deletions config/deploy.rb
@@ -0,0 +1,22 @@
set :application, "html5"
set :domain, "adamhunter.me"
set :user, "adamhunter"
set :port, "125"
set :use_sudo, false
set :scm, :git
set :deploy_via, :remote_cache

set :repository, "git://github.com/adamhunter/html5.git"

set :deploy_to, "/var/production/#{application}"

role :app, domain
role :web, domain
role :db, domain, :primary => true

namespace :deploy do
[:start, :stop, :finalize_update, :restart].each do |t|
desc "#{t} task is a no-op with just mod_rails"
task t, :roles => :app do ; end
end
end

0 comments on commit 42eac78

Please sign in to comment.