From 5058ef3e041e9e1b8ed1c5cf74b0441cf5d3c9cd Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 20 Jun 2014 19:56:29 +0200 Subject: Remove old capistrano config. --- config/deploy.rb.example | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 config/deploy.rb.example (limited to 'config/deploy.rb.example') diff --git a/config/deploy.rb.example b/config/deploy.rb.example deleted file mode 100644 index 8d1303d..0000000 --- a/config/deploy.rb.example +++ /dev/null @@ -1,42 +0,0 @@ -require 'bundler/capistrano' -Dir.glob(File.join(File.dirname(__FILE__), 'deploy', '*.rb')) do |f| - require f -end - -set :application, "set your application name here" -set :repository, "set your repository location here" - -set :scm, :git -set :branch, 'master' unless exists?(:branch) - -set :deploy_to, "path on server" -set :user, "username on server" - -# On FreeBSD uncomment the following lines -#set :use_sudo, false -#default_environment['RB_USER_INSTALL'] = '/usr/bin/install -c' - -#set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"") -set :rvm_ruby_string, '1.9.3-p286' -set :rvm_type, :system -require "rvm/capistrano" - -role :web, "your web-server here" # Your HTTP server, Apache/etc -role :app, "your app-server here" # This may be the same as your `Web` server -role :db, "your primary db-server here", :primary => true # This is where Rails migrations will run -role :db, "your slave db-server here" - -# if you want to clean up old releases on each deploy uncomment this: -# after "deploy:restart", "deploy:cleanup" - -# if you're still using the script/reaper helper you will need -# these http://github.com/rails/irs_process_scripts - -# If you are using Passenger mod_rails uncomment this: -# namespace :deploy do -# task :start do ; end -# task :stop do ; end -# task :restart, :roles => :app, :except => { :no_release => true } do -# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" -# end -# end \ No newline at end of file -- cgit v1.2.3