Browse Source

staging capistrano

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
8770efb62a
  1. 7
      Gemfile
  2. 4
      Gemfile.lock
  3. 10
      config/deploy.rb

7
Gemfile

@ -22,7 +22,6 @@ gem 'rails_config', '~> 0.2.4'
# gem 'rails-settings-cached', :require => 'rails-settings' # gem 'rails-settings-cached', :require => 'rails-settings'
gem 'active-model-email-validator', '~> 1.0.2' gem 'active-model-email-validator', '~> 1.0.2'
gem 'mail_form', '~> 1.3.0' gem 'mail_form', '~> 1.3.0'
gem 'capistrano', '~> 2.9.0'
gem 'switch_user', '~> 0.6.0' gem 'switch_user', '~> 0.6.0'
# Gems used only for assets and not required # Gems used only for assets and not required
@ -33,14 +32,16 @@ group :assets do
gem 'coffee-rails', "~> 3.2.1" gem 'coffee-rails', "~> 3.2.1"
gem 'uglifier', '>= 1.0.3' gem 'uglifier', '>= 1.0.3'
gem 'therubyracer' gem 'therubyracer'
end end
gem 'jquery-rails' gem 'jquery-rails'
gem 'dalli', '~> 1.1.3' gem 'dalli', '~> 1.1.3'
# gem 'foreigner' ? # gem 'foreigner' ?
gem 'mongrel', '>= 1.2.0.pre2', :group => :development group :development do
gem 'capistrano', '~> 2.9.0'
gem 'mongrel', '>= 1.2.0.pre2'
end
group :test, :development do group :test, :development do
gem 'rspec-rails', '~> 2.8.1' gem 'rspec-rails', '~> 2.8.1'

4
Gemfile.lock

@ -200,7 +200,7 @@ GEM
multi_json (~> 1.0.3) multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3) simplecov-html (~> 0.5.3)
simplecov-html (0.5.3) simplecov-html (0.5.3)
spork (1.0.0rc0) spork (1.0.0rc1)
sprockets (2.1.2) sprockets (2.1.2)
hike (~> 1.2) hike (~> 1.2)
rack (~> 1.0) rack (~> 1.0)
@ -218,7 +218,7 @@ GEM
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
tzinfo (0.3.31) tzinfo (0.3.31)
uglifier (1.2.2) uglifier (1.2.3)
execjs (>= 0.3.0) execjs (>= 0.3.0)
multi_json (>= 1.0.2) multi_json (>= 1.0.2)
userstamp_basic (0.1.0) userstamp_basic (0.1.0)

10
config/deploy.rb

@ -2,7 +2,15 @@ require 'bundler/capistrano'
default_run_options[:pty] = true default_run_options[:pty] = true
set :application, 'entrydns' set :application, 'entrydns'
set :domain, 'n0.entrydns.net'
task :production do
set :domain, 'n0.entrydns.net'
end
task :staging do
set :domain, 'staging.entrydns.net'
end
set :repository, "git@bitbucket.org:clyfe/entrydns.git" set :repository, "git@bitbucket.org:clyfe/entrydns.git"
set :deploy_to, '/srv/www/apps/entrydns' set :deploy_to, '/srv/www/apps/entrydns'
set :user, 'clyfe' set :user, 'clyfe'

Loading…
Cancel
Save