mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
If there is a syntax error in `settings.py`, `restart-server` should provide a reasonable message about this. It did so prior toaf08bcdb3f, becausde any invocation `./manage.py` without `--skip-checks` will verify `settings.py`, among several other checks. Afteraf08bcdb3f, there are no `./manage.py` calls in most restarts, whichfa77be6e6ctook further. Add an explicit `./manage.py check` in the default case. upgrade-zulip-stage-2 overrides this by passing `--skip-checks`, for performance. This also means that `upgrade-zulip-from-git` itself picks up the same `--skip-checks` flag, since it inherits the same flag parsing, though that is perhaps of dubious utility.
This directory contains scripts that:
-
Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.
-
Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in
tools/).
For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.