Commit 0114f360cc6dbd2ca8005e19eb12424db232f942
1 parent
9c249088
Exists in
master
and in
1 other branch
localhost / CHANGME.heroku.com for HOST for email delivery, URLs in email
Showing
5 changed files
with
19 additions
and
7 deletions
Show diff stats
README.markdown
| 1 | Heroku's Suspenders | 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 | * Clearance for authentication | 12 | * Clearance for authentication |
| 8 | -* Paperclip for file uploads, set for Amazon S3 | 13 | +* Gmail SMTP for email |
| 9 | * Cucumber, Shoulda, Factory Girl, & Mocha for testing | 14 | * Cucumber, Shoulda, Factory Girl, & Mocha for testing |
| 15 | +* Hoptoad Notifier for exception notification | ||
| 16 | +* Paperclip for file uploads, set for Amazon S3 | ||
| 10 | * Will Paginate for pagination | 17 | * Will Paginate for pagination |
| 11 | * RedCloth for Textile formatting | 18 | * RedCloth for Textile formatting |
| 12 | -* Hoptoad Notifier for exception notification | ||
| 13 | -* Email defaults (Gmail SMTP) configured for Heroku | ||
| 14 | 19 | ||
| 15 | Get the latest & greatest at anytime with: | 20 | Get the latest & greatest at anytime with: |
| 16 | 21 | ||
| @@ -23,6 +28,5 @@ Mascot | @@ -23,6 +28,5 @@ Mascot | ||
| 23 | 28 | ||
| 24 | The official Suspenders mascot is Suspenders Boy: | 29 | The official Suspenders mascot is Suspenders Boy: |
| 25 | 30 | ||
| 26 | - http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png | ||
| 27 | - | ||
| 28 |  | 31 |  |
| 32 | + |
config/environments/development.rb
config/environments/production.rb
| @@ -16,3 +16,6 @@ config.action_controller.perform_caching = true | @@ -16,3 +16,6 @@ config.action_controller.perform_caching = true | ||
| 16 | 16 | ||
| 17 | # Disable delivery errors, bad email addresses will be ignored | 17 | # Disable delivery errors, bad email addresses will be ignored |
| 18 | config.action_mailer.raise_delivery_errors = false | 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,3 +10,6 @@ config.action_controller.perform_caching = true | ||
| 10 | 10 | ||
| 11 | # Disable delivery errors if you bad email addresses should just be ignored | 11 | # Disable delivery errors if you bad email addresses should just be ignored |
| 12 | config.action_mailer.raise_delivery_errors = false | 12 | config.action_mailer.raise_delivery_errors = false |
| 13 | + | ||
| 14 | +HOST = "CHANGEME.heroku.com" | ||
| 15 | + |
config/environments/test.rb