seven1m / onebody

OneBody is free, open-source, web-based social networking and online directory software for churches.

This URL has Read+Write access

onebody / config / deploy.rb.example
100644 33 lines (27 sloc) 1.038 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# copy this file to config/deploy.rb and adjust, then on the server:
# # sudo adduser deploy
# add user "deploy" to /etc/sudoers
# copy your ssh public key (~/.ssh/id_rsa.pub) to the remote server (/home/deploy/.ssh/authorized_keys)
# finally, on your local machine:
# # cap deploy:install
# # cap deploy:setup
# # cap deploy:cold
# See http://www.capify.org/getting-started/rails for more help
 
# point to your server
set :host, 'beonebody.org'
 
# if you have multiple servers, point these individually
role :web, host
role :db, host, :primary => true
 
# point to your github fork if you have one
set :repository, "git://github.com/seven1m/onebody.git"
set :branch, 'stable' # remove this line if you want bleeding edge or you're pointing to your own repo/fork
set :scm, :git
 
# port to run OneBody Setup Mode on
set :setup_port, 7999
 
set :application, 'onebody'
set :user, 'deploy'
set :runner, user
set :repository_cache, 'git_cache'
set :deploy_via, :remote_cache
set :deploy_to, "/var/www/apps/#{application}"
set :use_sudo, false