mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
update-deployment: Use the virtualenv in deployment process.
This commit is contained in:
@@ -36,6 +36,10 @@ try:
|
||||
deploy_path], stdout=open('/dev/null', 'w'))
|
||||
|
||||
os.chdir(deploy_path)
|
||||
|
||||
subprocess.check_call([os.path.join(deploy_path, "scripts", "lib", "create-production-venv"),
|
||||
os.path.join(deploy_path, "zulip-venv")])
|
||||
|
||||
# Hack to deploy images not included in open source project
|
||||
subprocess.check_call(["cp", "-a", "/etc/zulip/zulip-dropbox.png",
|
||||
os.path.join(deploy_path, "static/images/logo")])
|
||||
|
||||
Reference in New Issue
Block a user