[manual] Move update-prod-static and update-deployments back to tools/.

update-deployment has been replaced by upgrade-zulip for local server
instances, since it won't be running off a git repository, and
update-prod-static won't be needed since we plan on shipping minified
javascript.

When we deploy this, the deployment will fail, and then we'll need to
update the git checkout from which post-receive runs on git.zulip.net.

(imported from commit 86aaedbab09c60ae86ac1d0ae492d0d1bc45569f)
This commit is contained in:
Tim Abbott
2013-10-31 13:44:49 -04:00
parent bc19be977a
commit 5f92ccb422
4 changed files with 5 additions and 4 deletions

View File

@@ -53,8 +53,9 @@ subprocess.check_call(["rmdir", extract_path])
os.chdir(deploy_path)
# Update static files
# TODO: Remove this and replace it with shipping already minified js.
logging.info("Updating static files")
subprocess.check_call(["./scripts/update-prod-static", "--prev-deploy",
subprocess.check_call(["./tools/update-prod-static", "--prev-deploy",
os.path.join(DEPLOYMENTS_DIR, 'current')])
logging.info("Restarting server...")