-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mailer Settings and Documentation Updates #27
base: master
Are you sure you want to change the base?
Conversation
------ Set the ActionMailer parameters for both `production.rb` and `development.rb` to pull the email address and password from environment variables.
------ First off, server_deploy.md was separated with a comma, not a period. Secondly, I've changed the language a little in both, in hopes of streamlining what we are talking about.
I am really not an expert, but it looks all right to me. |
If you are happy with it and it blocks you from going further, I think you can merge it. |
@@ -43,4 +43,12 @@ | |||
config.action_mailer.default_url_options = { :host => "localhost:3000" } | |||
config.action_mailer.delivery_method = :letter_opener | |||
config.action_mailer.perform_deliveries = true | |||
config.action_mailer.smtp_settings = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this. As in @kirs 's idea, the email will be previewed in a html page.
|
||
export RAILS_ENV=production | ||
# Generate a SECRET_TOKEN; `rake secret` can generate one | ||
export SECRET_TOKEN=<SECRET_TOKEN> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where SECRET_TOEKN
is used?
Commit messages should speak for themselves. Please message me if you need me to clarify anything. It's three in the morning I'm tired peace