update-deployment: Use the virtualenv in deployment process.

This commit is contained in:
Tim Abbott
2016-07-13 14:21:31 -07:00
parent 599f12f94f
commit 6254e29ebf

View File

@@ -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")])