#906: rewrite deploy/production.rb

This commit is contained in:
Vokhmin Alexey V 2013-03-05 00:55:13 +04:00
parent 13795a9eab
commit 1d262ca963
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ public/downloads/*
dump.rdb dump.rdb
crash.log crash.log
config/newrelic.yml config/newrelic.yml
config/deploy/production.rb

View File

@ -0,0 +1,10 @@
# -*- encoding : utf-8 -*-
require "whenever/capistrano"
set :branch, "master"
set :domain, "0.0.0.0"
role :app, domain
role :web, domain
role :db, domain, :primary => true