Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 1326 Bytes
1 | # ============================================================================= |
2 | # REQUIRED VARIABLES |
3 | # ============================================================================= |
4 | |
5 | set :application, "my_site.com" |
6 | |
7 | # You may need to set one or more of these. |
8 | set :user, "flippy" # defaults to the currently logged in user |
9 | set :deploy_to, "/home/#{user}/#{application}" # defaults to "/u/apps/#{application}" |
10 | |
11 | # set :svn, "/path/to/svn" # defaults to searching the PATH |
12 | # set :gateway, "gate.host.com" # default to no gateway |
13 | # ssh_options[:keys] = %w(/path/to/my/key /path/to/another/key) |
14 | # ssh_options[:port] = 25 |
15 | |
16 | # ============================================================================= |
17 | # Don't touch unless you know what you are doing |
18 | # ============================================================================= |
19 | |
20 | # Leave this unless you are storing your own copy elsewhere. |
21 | set :repository, "http://topfunky.net/svn/gullery" |
22 | |
23 | role :web, application |
24 | role :app, application |
25 | role :db, application, :primary => true |
26 | |
27 | desc "Copy production database config file." |
28 | task :after_symlink do |
29 | run "cp #{shared_path}/config/database.yml #{current_path}/config/database.yml" |
30 | end |
31 | |
32 | desc "Restart for shared hosts" |
33 | task :restart do |
34 | run "#{current_path}/script/process/reaper --dispatcher=dispatch.fcgi" |
35 | end |