|
@@ -10,7 +10,7 @@ cwd = "%s/FrameworkBenchmarks/tornado" % home
|
|
|
|
|
|
def start(args):
|
|
def start(args):
|
|
setup_util.replace_text(
|
|
setup_util.replace_text(
|
|
- cwd + "/server.py", "127.0.0.1", args.database_host)
|
|
|
|
|
|
+ cwd + "/server.py", "localhost", args.database_host)
|
|
|
|
|
|
subprocess.check_call("sudo pip install -r requirements.txt", cwd=cwd, shell=True)
|
|
subprocess.check_call("sudo pip install -r requirements.txt", cwd=cwd, shell=True)
|
|
subprocess.Popen("python %s/FrameworkBenchmarks/tornado/server.py --port=8080 --logging=error" % home, shell=True, cwd=cwd)
|
|
subprocess.Popen("python %s/FrameworkBenchmarks/tornado/server.py --port=8080 --logging=error" % home, shell=True, cwd=cwd)
|