Sha256: 4285799980525da1a39b1e5d252cb8512fe245b152b8d6ebc40e5c9f9fec8319
Contents?: true
Size: 1.72 KB
Versions: 11
Compression:
Stored size: 1.72 KB
Contents
set :application, '' set :domain, '' set :deploy_domain, '' set :vhost_domain, '' # set application folder set :deploy_to, "/var/projects/#{application}/xxx" set :rails_root, File.expand_path('../../', __FILE__) set :rails_env, :production # use 'stage' to differ between stage environments set :user, 'deploy' server domain, :web, :app, :db, :primary => true # Multistage settings #set :stage_dir, File.dirname(__FILE__) + '/deploy/stages' #set :default_stage, "vagrant" #require 'capistrano/ext/multistage' # database set :db_name, '' set :db_user_name, '' set :db_user_password, '' set :branch, ENV['BRANCH'] || 'develop' set :repository, 'xxx.git' set(:shared_directories_to_create) { %W(#{shared_path}/bundle #{shared_path}/cache) } set(:shared_directories_to_link) { { "#{shared_path}/bundle/" => "#{release_path}/vendor/bundle" } } set(:directories_to_create) { %W() } set(:files_to_link) { { "#{shared_path}/config/config.#{stage}.yml" => "#{release_path}/config/config.local.yml", "#{shared_path}/config/unicorn.#{stage}.rb" => "#{release_path}/config/unicorn.production.rb" } } set(:config_file_to_setup) { %W(config.#{stage}.yml unicorn.#{stage}.rb) } set(:files_to_delete) { %W() } set(:chmods_to_set) { { # "#{shared_path}/data/pdf" => 755 } } require 'ms_deploy/recipes/defaults' require 'ms_deploy/recipes/rbenv' require 'ms_deploy/recipes/assets' require 'ms_deploy/recipes/nginx' require 'ms_deploy/recipes/bundler' require 'ms_deploy/recipes/symlink' require 'ms_deploy/recipes/unicorn' require 'ms_deploy/recipes/setup' require 'ms_deploy/recipes/monitoring' require 'ms_deploy/recipes/seeding' #require 'ms_deploy/recipes/paperclip' #require 'ms_deploy/recipes/airbrake'
Version data entries
11 entries across 11 versions & 1 rubygems