You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,8 +167,23 @@ Open test coverage results with
167
167
168
168
We are using the wonderful [rubocop](https://github.com/rubocop-hq/rubocop-rails) to lint and autofix the code. Install the rubocop VSCode extension to get best experience during development.
169
169
170
+
### 15. Sending emails
171
+
Set your SMTP settings with these environment variables:
172
+
-`SMTP_ADDRESS`
173
+
-`SMTP_PORT`
174
+
-`SMTP_DOMAIN`
175
+
-`SMTP_USERNAME`
176
+
-`SMTP_PASSWORD`
177
+
-`SMTP_AUTH`
178
+
-`SMTP_ENABLE_STARTTLS_AUTO`
170
179
171
-
### 15. Deployment
180
+
Have a look at `config/environments/production.rb` where we set the `config.action_mailer.smtp_settings`.
181
+
182
+
#### FROM email
183
+
Set the email address for your `ApplicationMailer` and devise emails with env var `DEVISE_MAILER_FROM`.
184
+
185
+
186
+
### 16. Deployment
172
187
The project runs on every webhoster with ruby installed. The only dependency is a PostgreSQL database. Create a block `production:` in the`config/database.yml` for your connection.
0 commit comments