Commit d0815209e53769c4f7a2c2c55e8aacf0e7f50129
1 parent
c5d9898a
Exists in
colab
and in
4 other branches
New deployment
Showing
2 changed files
with
7 additions
and
5 deletions
Show diff stats
config/deploy.rb
| @@ -6,7 +6,7 @@ set :rails_env, "production" | @@ -6,7 +6,7 @@ set :rails_env, "production" | ||
| 6 | 6 | ||
| 7 | set :rvm_ruby_string, :local # use the same ruby as used locally for deployment | 7 | set :rvm_ruby_string, :local # use the same ruby as used locally for deployment |
| 8 | set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs | 8 | set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs |
| 9 | -#set :rvm_type, :system | 9 | +set :rvm_type, :system |
| 10 | 10 | ||
| 11 | set :application, "mezuro" | 11 | set :application, "mezuro" |
| 12 | set :deploy_to, "/home/mezuro/app" | 12 | set :deploy_to, "/home/mezuro/app" |
| @@ -18,11 +18,11 @@ set :use_sudo, false | @@ -18,11 +18,11 @@ set :use_sudo, false | ||
| 18 | # set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names | 18 | # set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names |
| 19 | # Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | 19 | # Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` |
| 20 | 20 | ||
| 21 | -role :web, "ec2-54-224-114-220.compute-1.amazonaws.com" # Your HTTP server, Apache/etc | ||
| 22 | -role :app, "ec2-54-224-114-220.compute-1.amazonaws.com" # This may be the same as your `Web` server | ||
| 23 | -role :db, "ec2-54-224-114-220.compute-1.amazonaws.com", :primary => true # This is where Rails migrations will run | 21 | +role :web, "ec2-184-72-147-209.compute-1.amazonaws.com" # Your HTTP server, Apache/etc |
| 22 | +role :app, "ec2-184-72-147-209.compute-1.amazonaws.com" # This may be the same as your `Web` server | ||
| 23 | +role :db, "ec2-184-72-147-209.compute-1.amazonaws.com", :primary => true # This is where Rails migrations will run | ||
| 24 | 24 | ||
| 25 | -before 'deploy:setup', 'rvm:install_rvm' # install RVM | 25 | +# before 'deploy:setup', 'rvm:install_rvm' # install RVM |
| 26 | before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, OR: | 26 | before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, OR: |
| 27 | before 'deploy:setup', 'rvm:create_gemset' # only create gemset | 27 | before 'deploy:setup', 'rvm:create_gemset' # only create gemset |
| 28 | after 'deploy:assets:symlink', 'deploy:config_symlinks' | 28 | after 'deploy:assets:symlink', 'deploy:config_symlinks' |
features/support/env.rb
| @@ -10,6 +10,8 @@ SimpleCov.coverage_dir 'coverage/cucumber' | @@ -10,6 +10,8 @@ SimpleCov.coverage_dir 'coverage/cucumber' | ||
| 10 | 10 | ||
| 11 | require 'cucumber/rails' | 11 | require 'cucumber/rails' |
| 12 | 12 | ||
| 13 | +#require 'kalibro_entities/kalibro_cucumber_helpers/hooks' | ||
| 14 | + | ||
| 13 | # Capybara defaults to CSS3 selectors rather than XPath. | 15 | # Capybara defaults to CSS3 selectors rather than XPath. |
| 14 | # If you'd prefer to use XPath, just uncomment this line and adjust any | 16 | # If you'd prefer to use XPath, just uncomment this line and adjust any |
| 15 | # selectors in your step definitions to use the XPath syntax. | 17 | # selectors in your step definitions to use the XPath syntax. |