Copy localserver prod-static instead of linking so old files are retained.

(imported from commit 728cce9f1b3a47d62f2856a509ed65a3ac6bd451)
This commit is contained in:
Kevin Mehall
2013-11-06 11:30:20 -05:00
parent e6ca5d265d
commit 9b6c99c7af
2 changed files with 5 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ subprocess.check_call(["mv", os.path.join(extract_path, "zulip-server"), deploy_
subprocess.check_call(["rmdir", extract_path])
subprocess.check_call(["ln", "-nsf", "/etc/zulip/settings.py",
os.path.join(deploy_path, "zproject/local_settings.py")])
subprocess.check_call(["cp", "-rT", os.path.join(deploy_path, 'prod-static/serve'),
'/home/zulip/prod-static'])
print deploy_path
sys.exit(0)