Permalink
Browse files

Updating deploy.example.rb

  • Loading branch information...
1 parent 29db7bc commit 8d9b57003f5484b805a98683cd246d45bc2d227b Winton Welsh committed Nov 12, 2008
Showing with 13 additions and 8 deletions.
  1. +5 −0 deploy.rb.example
  2. +8 −8 lib/cookbook.rb
View
@@ -6,6 +6,11 @@ set :cookbook, {
:mongrel_port => 3000, # Your next app should be 3003
:ssh_port => 22, # Or any unused port above 1024 (best practice)
+ :app_helpers => true,
+ :attachment_fu => false,
+ :rails_widget => true,
+ :thinking_sphinx => false,
+
:production => {
:domain => 'myapp.com',
:other_domains => [ 'www.myapp.com' ],
View
@@ -53,25 +53,25 @@
on :before, 'setup_stage', :except => [ :staging, :testing ] # Executed before every task
if platform == :rails
- #after 'deploy:update_code', 'rails:setup_git' # Initialize submodules
- after 'deploy:update_code', 'rails:config:to_app' # Copy shared config to app
+ #after 'deploy:update_code', 'rails:setup_git' # Initialize submodules
+ after 'deploy:update_code', 'rails:config:to_app' # Copy shared config to app
if app_helpers
- after 'deploy:update_code', 'rails:config:app_helpers' # Set up app with app_helpers
+ after 'deploy:update_code', 'rails:config:app_helpers' # Set up app with app_helpers
end
if asset_packager
- after 'deploy:update_code', 'rails:config:asset_packager' # Configure attachment_fu
+ after 'deploy:update_code', 'rails:config:asset_packager' # Configure asset_packager
end
if attachment_fu
- after 'deploy:update_code', 'rails:config:attachment_fu' # Configure attachment_fu
+ after 'deploy:update_code', 'rails:config:attachment_fu' # Configure attachment_fu
end
if rails_widget
- after 'deploy:update_code', 'rails:config:rails_widget' # Configure attachment_fu
+ after 'deploy:update_code', 'rails:config:rails_widget' # Configure rails_widget
end
if ultrasphinx
- after 'deploy:update_code', 'rails:config:ultrasphinx' # Configure ultrasphinx
+ after 'deploy:update_code', 'rails:config:ultrasphinx' # Configure ultrasphinx
end
if thinking_sphinx
- after 'deploy:update_code', 'rails:config:thinking_sphinx' # Configure thinking_sphinx
+ after 'deploy:update_code', 'rails:config:thinking_sphinx' # Configure thinking_sphinx
end
end

0 comments on commit 8d9b570

Please sign in to comment.