forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Make it harder to screw up our manage.py commands.
- Loading branch information
Showing
3 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,10 +84,11 @@ These settings include: | |
- `EMAIL_*`, `DEFAULT_FROM_EMAIL`, and `NOREPLY_EMAIL_ADDRESS`: | ||
Regardless of which authentication backends you enable, you must | ||
provide settings for an outgoing SMTP server so Zulip can send | ||
emails when needed (and don't forget to set `email_password` in | ||
the `zulip-secrets.conf` file). We highly recommend testing | ||
your configuration using `manage.py send_test_email` to confirm | ||
your outgoing email configuration is working correctly. | ||
emails when needed (and don't forget to set `email_password` in the | ||
`zulip-secrets.conf` file). We highly recommend testing your | ||
configuration using `su zulip` and then | ||
`/home/zulip/deployments/current/manage.py send_test_email` to | ||
confirm your outgoing email configuration is working correctly. | ||
|
||
## Step 4: Initialize Zulip database | ||
|
||
|
@@ -109,16 +110,20 @@ in your Zulip installation. | |
## Step 5: Create a Zulip organization and login | ||
|
||
* If you haven't already, verify that your server can send email using | ||
`./manage.py send_test_email [email protected]`. You'll need | ||
working outgoing email to complete the setup process. | ||
|
||
``` | ||
su zulip | ||
/home/zulip/deployments/current/manage.py send_test_email [email protected] | ||
``` | ||
|
||
You'll need working outgoing email to complete the setup process. | ||
|
||
* Run the organization (realm) creation [management | ||
command](prod-maintain-secure-upgrade.html#management-commands) : | ||
|
||
``` | ||
su zulip # If you weren't already the zulip user | ||
cd /home/zulip/deployments/current | ||
./manage.py generate_realm_creation_link | ||
/home/zulip/deployments/current/manage.py generate_realm_creation_link | ||
``` | ||
|
||
This will print out a secure 1-time use link that allows creation of a | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,8 @@ | |
# https://support.google.com/mail/answer/14257. | ||
# | ||
# You can quickly test your sending email configuration using: | ||
# ./manage.py send_test_email [email protected] | ||
# su zulip | ||
# /home/zulip/deployments/current/manage.py send_test_email [email protected] | ||
# | ||
# A common problem is hosting providers that block outgoing SMTP traffic. | ||
# | ||
|