Sha256: 5e91560fed0caba14b52b9f5de595357305c764845220b88cf69df90df64e803

Contents?: true

Size: 912 Bytes

Versions: 12

Compression:

Stored size: 912 Bytes

Contents

configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::Configuration.instance(:must_exist) : Capistrano.configuration(:must_exist)

configuration.load do
	# don't use sudo, on most shared setups we won't have sudo-access
	set :use_sudo, false

	# we're on a share setup so group_writable isn't allowed
	set :group_writable, false

	# 3 releases should be enough.
	set :keep_releases, 3

	# remote caching will keep a local git repo on the server you're deploying to and simply run a fetch from that 
	# rather than an entire clone. This is probably the best option and will only fetch the differences each deploy
	set :deploy_via, :remote_cache

	# set the value for pseudo terminals in Capistrano
	default_run_options[:pty] = true

	# your computer must be running ssh-agent for the git checkout to work from the server to the git server
	set :ssh_options, { :forward_agent => true }
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
forkcms_deploy-1.2.1 lib/forkcms_deploy/defaults.rb
forkcms_new_deploy-0.1.0 lib/forkcms_new_deploy/defaults.rb
fork_legacy_deploy-0.2.0 lib/forkcms_legacy_deploy/defaults.rb
forkcms_deploy-1.2.0 lib/forkcms_deploy/defaults.rb
fork_legacy_deploy-0.1.4 lib/forkcms_legacy_deploy/defaults.rb
fork_legacy_deploy-0.1.3 lib/forkcms_legacy_deploy/defaults.rb
fork_legacy_deploy-0.1.1 lib/forkcms_legacy_deploy/defaults.rb
fork_legacy_deploy-0.1.0 lib/forkcms_deploy/defaults.rb
forkcms_deploy-1.1.2 lib/forkcms_deploy/defaults.rb
forkcms_deploy-1.1.1 lib/forkcms_deploy/defaults.rb
forkcms_deploy-1.1.0 lib/forkcms_deploy/defaults.rb
forkcms_deploy-1.0.0 lib/forkcms_deploy/defaults.rb