Sha256: b230991f6b6cc5d9ee77288b2b50970787e8582b9def3844ee36500a65c9507a

Contents?: true

Size: 959 Bytes

Versions: 3

Compression:

Stored size: 959 Bytes

Contents

set :user, "fesplugas"
set :application, "demo.typuscms.com"
set :use_sudo, false
set :deploy_to, "/home/#{user}/public_html/#{application}"

set :scm, :git
set :default_run_options, { :pty => true }
set :repository, "git://github.com/typus/typus.git"
set :deploy_via, :remote_cache
set :keep_releases, 2

# Override default `:bundle_flags` because I don't provide a Gemfile.lock.
set :bundle_flags, "--quiet"

set :domain, "demo.typuscms.com"

role :web, domain
role :app, domain
role :db, domain, :primary => true # This is where Rails migrations will run
role :db, domain

after "deploy", "deploy:cleanup"

namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "cd #{current_path}/test/fixtures/rails_app && rake db:setup RAILS_ENV=production"
    run "cd #{current_path}/test/fixtures/rails_app && touch tmp/restart.txt"
  end
  task :finalize_update do ; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/config/deploy.rb
typus-3.0.11.rc4 test/fixtures/rails_app/config/deploy.rb
typus-3.0.11.rc3 test/fixtures/rails_app/config/deploy.rb