Skip to content

Running Management Commands

Anders Kaseorg edited this page Apr 3, 2020 · 4 revisions

To run management commands on your docker-zulip container, you have to docker-compose exec into the container as the zulip user.

A helper command to do this for you from the parent system is as follows:

#!/bin/sh

docker-compose exec -u zulip zulip /home/zulip/deployments/current/manage.py "$@"

Save this as zulip_manage.sh, then you can use it to run commands like so:

./zulip_manage.sh help

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:
...
./zulip_manage.sh generate_invite_links --realm yourdomain.com person@example.com
Clone this wiki locally