Skip to content

Commit

Permalink
Changed servers for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dduvnjak committed Apr 16, 2014
1 parent 96428a4 commit bacac96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require 'capistrano/deploy'
# require 'capistrano/rvm'
# require 'capistrano/rbenv'
# require 'capistrano/chruby'
# require 'capistrano/bundler'
require 'capistrano/bundler'
# require 'capistrano/rails/assets'
# require 'capistrano/rails/migrations'

Expand Down
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set :repo_url, 'git@github.com:rich-reactor8/server.git'

# Default branch is :master
#ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }
ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }

# Default deploy_to directory is /var/www/my_app
set :deploy_to, '~/server'
Expand Down
4 changes: 2 additions & 2 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# definition into the server list. The second argument
# something that quacks like a hash can be used to set
# extended properties on the server.
server 'ec2-23-23-28-151.compute-1.amazonaws.com', user: 'dtk1', roles: %w{web app db}
#server 'ubuntu@ec2-23-23-28-151.compute-1.amazonaws.com', user: 'dtk2', roles: %w{web app db}
server 'ec2-50-16-172-98.compute-1.amazonaws.com', user: 'dtk1', roles: %w{web app db}
server 'ec2-50-16-172-98.compute-1.amazonaws.com', user: 'dtk2', roles: %w{web app db}

# you can set custom ssh options
# it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options
Expand Down

0 comments on commit bacac96

Please sign in to comment.