From 0114f360cc6dbd2ca8005e19eb12424db232f942 Mon Sep 17 00:00:00 2001 From: Dan Croak Date: Thu, 2 Jul 2009 00:32:01 -0400 Subject: [PATCH] localhost / CHANGME.heroku.com for HOST for email delivery, URLs in email --- README.markdown | 18 +++++++++++------- config/environments/development.rb | 1 + config/environments/production.rb | 3 +++ config/environments/staging.rb | 3 +++ config/environments/test.rb | 1 + 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/README.markdown b/README.markdown index 95d02f4..b97f9f8 100644 --- a/README.markdown +++ b/README.markdown @@ -1,16 +1,21 @@ Heroku's Suspenders ------------------- -A Rails app with intelligent defaults from thoughtbot. +thoughtbot's Suspenders modified for Heroku. + + git clone git://github.com/dancroak/heroku_suspenders.git + cd heroku_suspenders + ./script/create_project project_name + +This will create a Rails 2.3.2 app with: -* Rails 2.3.2 * Clearance for authentication -* Paperclip for file uploads, set for Amazon S3 +* Gmail SMTP for email * Cucumber, Shoulda, Factory Girl, & Mocha for testing +* Hoptoad Notifier for exception notification +* Paperclip for file uploads, set for Amazon S3 * Will Paginate for pagination * RedCloth for Textile formatting -* Hoptoad Notifier for exception notification -* Email defaults (Gmail SMTP) configured for Heroku Get the latest & greatest at anytime with: @@ -23,6 +28,5 @@ Mascot The official Suspenders mascot is Suspenders Boy: - http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png - ![Suspenders Boy](http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png) + diff --git a/config/environments/development.rb b/config/environments/development.rb index 69a8c48..f6d6f37 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -17,3 +17,4 @@ config.action_view.debug_rjs = true config.action_mailer.raise_delivery_errors = false HOST = 'localhost' + diff --git a/config/environments/production.rb b/config/environments/production.rb index c2dd2b3..6d2b993 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -16,3 +16,6 @@ config.action_controller.perform_caching = true # Disable delivery errors, bad email addresses will be ignored config.action_mailer.raise_delivery_errors = false + +HOST = "CHANGEME.heroku.com" + diff --git a/config/environments/staging.rb b/config/environments/staging.rb index bd6fed1..5c5e1cd 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -10,3 +10,6 @@ config.action_controller.perform_caching = true # Disable delivery errors if you bad email addresses should just be ignored config.action_mailer.raise_delivery_errors = false + +HOST = "CHANGEME.heroku.com" + diff --git a/config/environments/test.rb b/config/environments/test.rb index 6a3e09b..b5723e2 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -28,3 +28,4 @@ require 'factory_girl' require 'mocha' begin require 'redgreen'; rescue LoadError; end + -- libgit2 0.21.2