mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Previous versions of zulip used `nvm alias default ...` to have `nvm` prepend the full path to the latest `node` install to the `PATH` in root's shell. Unfortunately, this means that `update-prod-static`, when called from `upgrade-zulip-stage-2` after an upgrade of node in `install-node`, would still have the full path to the _old_ `node` at the start of its PATH, because the PATH of `upgrade-zulip-stage-2` would still be unchanged. Bootstrap out of this by setting a known-reasonable PATH during upgrade, and remove the problematic `nvm alias default` behaviour. Fixes #18258.
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.