zulip/scripts
Greg Price f73e898874 manage.py: Save an extra Django startup by converting one script to a library.
This saves us from spending 200-250ms of CPU time importing Django
again just to log that we're running a management command.  On
`scripts/restart-server`, this saves us from one thundering herd of
Django startups when all the queue workers are restarted; but there's
still the Django startup for the `manage.py` process itself for each
worker, so on a machine with e.g. 2 (virtual) cores the restart is
still painful.
2017-08-20 22:37:38 -07:00
..
lib manage.py: Save an extra Django startup by converting one script to a library. 2017-08-20 22:37:38 -07:00
nagios py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
setup py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
README.md docs: Add README.md files for scripts/ and tools/. 2017-01-17 11:01:27 -08:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
purge-old-deployments py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
restart-server py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
upgrade-zulip Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
upgrade-zulip-from-git py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
zulip-puppet-apply py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -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 http://zulip.readthedocs.io/en/latest/directory-structure.html.