Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 782 Bytes
# This file is only loaded for the staging environment
# Customize it and rename it as staging.rb
# Where should the site deploy to?
set :deploy_to, "/srv/www/example.com"
# Now configure the servers for this environment
# OPTION 1
# role :web, "your web server IP address or hostname here"
# role :web, "second web server here"
# role :web, "third web server here, etc"
# role :memcached, "your memcached server IP address or hostname here"
# role :memcached, "second memcached server here, etc"
# OPTION 2
# If your web servers are the same as your memcached servers,
# comment out all the "role" lines and use "server" lines:
# server "your web/memcached server IP address or hostname here", :web, :memcached
# server "second web/memcached server here", :web, :memcached