#906: rewrite deploy/production.rb
This commit is contained in:
parent
13795a9eab
commit
1d262ca963
|
@ -18,3 +18,4 @@ public/downloads/*
|
||||||
dump.rdb
|
dump.rdb
|
||||||
crash.log
|
crash.log
|
||||||
config/newrelic.yml
|
config/newrelic.yml
|
||||||
|
config/deploy/production.rb
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue