mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Merge pull request #2417 from adamloving/doc-fixes
Minor fixes to documentation and comments
This commit is contained in:
commit
221fc2aef4
@ -1,5 +1,5 @@
|
||||
/**
|
||||
If we request /user/eviltrout without a sub route.
|
||||
If we request /users/eviltrout without a sub route.
|
||||
|
||||
@class UserIndexRoute
|
||||
@extends Discourse.Route
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# DO NOT EDIT THIS FILE
|
||||
# If you need to make changes create a file called discourse.conf in this directory with your changes
|
||||
# On inport this file will be imported using ERB
|
||||
# On import this file will be imported using ERB
|
||||
#
|
||||
|
||||
# Discourse supports multiple mechanisms for production config.
|
||||
|
@ -121,6 +121,16 @@ Edit /etc/postgresql/9.1/main/pg_hba.conf to have this:
|
||||
# Press enter to accept all the defaults
|
||||
/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
|
||||
|
||||
|
@ -173,6 +173,16 @@ ImageMagick is used for generating avatars (including for test fixtures).
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user