Browse Source

Update start process to reflect new path for /cmd

Rob Figueiredo 12 years ago
parent
commit
023568228d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      revel/setup.py

+ 2 - 2
revel/setup.py

@@ -6,8 +6,8 @@ import time
 
 
 def start(args):
 def start(args):
   setup_util.replace_text("revel/src/benchmark/conf/app.conf", "tcp\(.*:3306\)", "tcp(" + args.database_host + ":3306)")
   setup_util.replace_text("revel/src/benchmark/conf/app.conf", "tcp\(.*:3306\)", "tcp(" + args.database_host + ":3306)")
-  subprocess.call("go get github.com/robfig/revel/cmd", shell=True, cwd="revel")
-  subprocess.call("go build -o bin/revel github.com/robfig/revel/cmd", shell=True, cwd="revel")
+  subprocess.call("go get -u github.com/robfig/revel/revel", shell=True, cwd="revel")
+  subprocess.call("go build -o bin/revel github.com/robfig/revel/revel", shell=True, cwd="revel")
   subprocess.Popen("bin/revel run benchmark prod".rsplit(" "), cwd="revel")
   subprocess.Popen("bin/revel run benchmark prod".rsplit(" "), cwd="revel")
   return 0
   return 0