mirror of https://github.com/zulip/zulip.git
571ce2f5cb
Our recent fixes to using the system's configured memcached settings broke populate_db, because its hacky clear_database helper is called with a hacked-up settings module. We fix this by first moving this out-of-place code from models.py into populate_db, and then saving the settings required to access memcached so that we can use them in clear_database. We also fix a mypy erorr in flush-memcached that matches the same issue fixed in clear_database. |
||
---|---|---|
.. | ||
lib | ||
nagios | ||
setup | ||
README.md | ||
__init__.py | ||
get-django-setting | ||
purge-old-deployments | ||
restart-server | ||
upgrade-zulip | ||
upgrade-zulip-from-git | ||
zulip-puppet-apply |
README.md
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.