Skip to content

Instantly share code, notes, and snippets.

@karmatr0n
Created June 25, 2010 00:18
Show Gist options
  • Save karmatr0n/452193 to your computer and use it in GitHub Desktop.
Save karmatr0n/452193 to your computer and use it in GitHub Desktop.
# Ejemplo de deployment con inploy para rails3
deploy.application = "yourproject"
deploy.repository = '[email protected]:alecz/yourdeposit.git'
deploy.hosts = ['143.135.4.140']
# OPTIONALS
before_restarting_server do
rake "install:gems"
run "bundle install"
end
deploy.path = '/var/rails' # default /var/local/apps
deploy.user = 'deployer' # default deploy
deploy.ssh_opts = '-A' # default empty
deploy.branch = 'master' # default master
#deploy.sudo = 'sudo ' # default false
deploy.cache_dirs = ['public/cache', 'tmp/cache'] # default ['public/cache']
skip_steps = ['install_gems', 'clear_cache'] # default []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment