zulip/scripts
Riken Shah c5580607a7 purge-old-deployments: Use the `clean_unused_caches.main` function.
We currently run the `clean_unused_caches.py` as a
script to clean the unused caches.

This commit replaces that with
`clean_unused_caches.main` function as it would be
faster.
2021-06-12 07:28:16 -07:00
..
lib clean_unused_caches: Allow the main function to accept `Namespace` args. 2021-06-12 07:28:16 -07:00
nagios python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup requirements: Upgrade Python requirements. 2021-06-07 17:57:51 -07:00
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
purge-old-deployments purge-old-deployments: Use the `clean_unused_caches.main` function. 2021-06-12 07:28:16 -07:00
refresh-sharding-and-restart puppet: Generate sharding in puppet, then refresh-sharding-and-restart. 2020-09-14 16:27:15 -07:00
restart-server scripts: Fix check for services running when upgrading. 2021-05-13 18:57:19 -07:00
start-server scripts: Add a start-server as well. 2021-04-21 10:24:08 -07:00
stop-server scripts: Fix check for services running when upgrading. 2021-05-13 18:57:19 -07:00
upgrade-zulip Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
upgrade-zulip-from-git Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
zulip-puppet-apply puppet: Pull in pinned puppet modules. 2021-05-27 21:14:48 -07:00

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.