Commit 0114f360cc6dbd2ca8005e19eb12424db232f942

Authored by Dan Croak
1 parent 9c249088

localhost / CHANGME.heroku.com for HOST for email delivery, URLs in email

README.markdown
1 1 Heroku's Suspenders
2 2 -------------------
3 3  
4   -A Rails app with intelligent defaults from thoughtbot.
  4 +thoughtbot's Suspenders modified for Heroku.
  5 +
  6 + git clone git://github.com/dancroak/heroku_suspenders.git
  7 + cd heroku_suspenders
  8 + ./script/create_project project_name
  9 +
  10 +This will create a Rails 2.3.2 app with:
5 11  
6   -* Rails 2.3.2
7 12 * Clearance for authentication
8   -* Paperclip for file uploads, set for Amazon S3
  13 +* Gmail SMTP for email
9 14 * Cucumber, Shoulda, Factory Girl, & Mocha for testing
  15 +* Hoptoad Notifier for exception notification
  16 +* Paperclip for file uploads, set for Amazon S3
10 17 * Will Paginate for pagination
11 18 * RedCloth for Textile formatting
12   -* Hoptoad Notifier for exception notification
13   -* Email defaults (Gmail SMTP) configured for Heroku
14 19  
15 20 Get the latest & greatest at anytime with:
16 21  
... ... @@ -23,6 +28,5 @@ Mascot
23 28  
24 29 The official Suspenders mascot is Suspenders Boy:
25 30  
26   - http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png
27   -
28 31 ![Suspenders Boy](http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png)
  32 +
... ...
config/environments/development.rb
... ... @@ -17,3 +17,4 @@ config.action_view.debug_rjs = true
17 17 config.action_mailer.raise_delivery_errors = false
18 18  
19 19 HOST = 'localhost'
  20 +
... ...
config/environments/production.rb
... ... @@ -16,3 +16,6 @@ config.action_controller.perform_caching = true
16 16  
17 17 # Disable delivery errors, bad email addresses will be ignored
18 18 config.action_mailer.raise_delivery_errors = false
  19 +
  20 +HOST = "CHANGEME.heroku.com"
  21 +
... ...
config/environments/staging.rb
... ... @@ -10,3 +10,6 @@ config.action_controller.perform_caching = true
10 10  
11 11 # Disable delivery errors if you bad email addresses should just be ignored
12 12 config.action_mailer.raise_delivery_errors = false
  13 +
  14 +HOST = "CHANGEME.heroku.com"
  15 +
... ...
config/environments/test.rb
... ... @@ -28,3 +28,4 @@ require 'factory_girl'
28 28 require 'mocha'
29 29  
30 30 begin require 'redgreen'; rescue LoadError; end
  31 +
... ...