blob: 2a92b4a2ea4aee20d56dcd4bc3052c8514cbc6c8 (
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, 'staging'
# 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'
|