blob: f0ebff2e20ea1b184ceb4aabdcafc5b3a3e30782 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Set the server address and user name to your configuration here:
server 'example.com', user: 'deploy', roles: %w{web app db}
#Change this to the proper directory on your server:
set :deploy_to, '/var/www/app'
set :branch, 'production'
# setup for capistrano-postgresql plugin:
#set :pg_user, ''
#set :pg_ask_for_password, true
#set :pg_system_user, 'pgsql' # enable for FreeBSD
#setup for capistrano-rvm plugin:
#set :rvm_type, :system
#set :rvm_ruby_version, '2.1.1'
|