Sha256: 7f90ad49c312864069b29ebd48a5530fbe40b44dc1394dd0ab00cf60644a3626

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

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/fesplugas/typus.git"
set :deploy_via, :remote_cache
set :keep_releases, 2
set :branch, "3-1-unstable"

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

# RVM version
set :rvm_ruby_string, '1.9.2'

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 && bundle exec 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

6 entries across 6 versions & 1 rubygems

Version Path
typus-3.1.0.rc6 test/fixtures/rails_app/config/deploy.rb
typus-3.1.0.rc5 test/fixtures/rails_app/config/deploy.rb
typus-3.1.0.rc4 test/fixtures/rails_app/config/deploy.rb
typus-3.1.0.rc3 test/fixtures/rails_app/config/deploy.rb
typus-3.1.0.rc2 test/fixtures/rails_app/config/deploy.rb
typus-3.1.0.rc1 test/fixtures/rails_app/config/deploy.rb