mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Rename local_settings.py symlink to prod_settings.py.
This commit is contained in:
@@ -44,6 +44,11 @@ try:
|
||||
|
||||
os.chdir(deploy_path)
|
||||
|
||||
if ZULIP_COM:
|
||||
# Install the zulip.com settings (local_settings.py) as prod_settings.py
|
||||
subprocess.check_call(["ln", "-nsf", os.path.join(deploy_path, "zproject/local_settings.py"),
|
||||
os.path.join(deploy_path, "zproject/prod_settings.py")])
|
||||
|
||||
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "create-production-venv"),
|
||||
os.path.join(deploy_path, "zulip-venv")])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user