docs: Add docker push notifications registration example.

Tweaked by tabbott to provide a more detailed comment.
This commit is contained in:
Brian Lee 2020-10-02 12:15:19 -04:00 committed by Tim Abbott
parent 90dccbf7c3
commit 9685854edc
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ follows:
su zulip -c '/home/zulip/deployments/current/manage.py register_server'
# Or as the zulip user, you can skip the `su zulip -c`:
/home/zulip/deployments/current/manage.py register_server
# docker-zulip users can run this inside the container with `docker exec`:
docker exec -it -u zulip <container_name> /home/zulip/deployments/current/manage.py register_server
```
This command will print the registration data it would send to the
mobile push notifications service, ask you to accept the terms of