setup.sh 281 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
  3. # Where to find the go executable
  4. export PATH="$GOROOT/bin:$PATH"
  5. go get -u github.com/robfig/revel/revel
  6. go build -o bin/revel github.com/robfig/revel/revel
  7. bin/revel run benchmark prod &