Commit 1aaee8141e00c59b357adb33021a3c4dd25556b4
- Diff rendering mode:
- inline
- side by side
Capfile
(3 / 0)
|   | |||
| 1 | load 'deploy' if respond_to?(:namespace) # cap2 differentiator | ||
| 2 | Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | ||
| 3 | load 'config/deploy' |
config/deploy.rb
(15 / 0)
|   | |||
| 1 | set :application, "set your application name here" | ||
| 2 | set :repository, "set your repository location here" | ||
| 3 | |||
| 4 | # If you aren't deploying to /u/apps/#{application} on the target | ||
| 5 | # servers (which is the default), you can specify the actual location | ||
| 6 | # via the :deploy_to variable: | ||
| 7 | # set :deploy_to, "/var/www/#{application}" | ||
| 8 | |||
| 9 | # If you aren't using Subversion to manage your source code, specify | ||
| 10 | # your SCM below: | ||
| 11 | # set :scm, :subversion | ||
| 12 | |||
| 13 | role :app, "your app-server here" | ||
| 14 | role :web, "your web-server here" | ||
| 15 | role :db, "your db-server here", :primary => true |

