|
@@ -1,9 +1,8 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
-sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
|
|
|
-
|
|
|
fw_depends go
|
|
|
|
|
|
-go get -u github.com/robfig/revel/revel github.com/coocood/qbs
|
|
|
-go build -o bin/revel github.com/robfig/revel/revel
|
|
|
+sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
|
|
|
+
|
|
|
+go get -u github.com/revel/cmd/revel github.com/coocood/qbs
|
|
|
bin/revel run benchmark prod &
|