mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Update development docs regarding SMTP
This commit is contained in:
@@ -121,6 +121,16 @@ Edit /etc/postgresql/9.1/main/pg_hba.conf to have this:
|
|||||||
# Press enter to accept all the defaults
|
# Press enter to accept all the defaults
|
||||||
/etc/init.d/redis_6379 start
|
/etc/init.d/redis_6379 start
|
||||||
|
|
||||||
|
## Sending email (SMTP)
|
||||||
|
|
||||||
|
By default, development.rb will attempt to connect locally to send email.
|
||||||
|
|
||||||
|
```rb
|
||||||
|
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
|
||||||
|
```
|
||||||
|
|
||||||
|
Set up [MailCatcher](https://github.com/sj26/mailcatcher) so the app can intercept
|
||||||
|
outbound email and you can verify what is being sent.
|
||||||
|
|
||||||
## Phantomjs
|
## Phantomjs
|
||||||
|
|
||||||
|
|||||||
@@ -173,6 +173,16 @@ ImageMagick is used for generating avatars (including for test fixtures).
|
|||||||
|
|
||||||
brew install imagemagick
|
brew install imagemagick
|
||||||
|
|
||||||
|
## Sending email (SMTP)
|
||||||
|
|
||||||
|
By default, development.rb will attempt to connect locally to send email.
|
||||||
|
|
||||||
|
```rb
|
||||||
|
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
|
||||||
|
```
|
||||||
|
|
||||||
|
Set up [MailCatcher](https://github.com/sj26/mailcatcher) so the app can intercept
|
||||||
|
outbound email and you can verify what is being sent.
|
||||||
|
|
||||||
## Setting up your Discourse
|
## Setting up your Discourse
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user