From 1d262ca9639386b7bd6d1fcd1844a8416026bd4d Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 5 Mar 2013 00:55:13 +0400 Subject: [PATCH] #906: rewrite deploy/production.rb --- .gitignore | 1 + config/deploy/production.rb.sample | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 config/deploy/production.rb.sample diff --git a/.gitignore b/.gitignore index 0452cede2..87d7101fa 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ public/downloads/* dump.rdb crash.log config/newrelic.yml +config/deploy/production.rb diff --git a/config/deploy/production.rb.sample b/config/deploy/production.rb.sample new file mode 100644 index 000000000..85c450ead --- /dev/null +++ b/config/deploy/production.rb.sample @@ -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