docs: Add explicit command to su to zulip from prod step 5 on.

This commit is contained in:
derAnfaenger
2017-10-20 23:42:12 +02:00
committed by Tim Abbott
parent 0828b4ad90
commit 1b67652380

View File

@@ -108,11 +108,12 @@ order for you to complete the installation.
## Step 5: Initialize Zulip database
At this point, you are done doing things as root. The remaining
commands are run as the `zulip` user using `su zulip`. To initialize
the Zulip database for your production install, run:
commands are run as the `zulip` user. Change to the `zulip` user
and initialize the Zulip database for your production install:
```
su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database
su zulip # If you weren't already the zulip user
/home/zulip/deployments/current/scripts/setup/initialize-database
```
The `initialize-database` script will report an error if you did not