From 0080e4d1a6d1b8fff794685fa99043e6105c4818 Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Thu, 24 Aug 2017 00:07:12 +0800 Subject: [PATCH] add guide about build standalone binary --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e3e344..5bba28a 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,25 @@ $ curl -X GET http://localhost:8100/api/v1/packages ``` # For developer -Update golang vendor +First checkout this repository + +```bash +git clone https://github.com/openatx/wdaproxy $GOPATH/src/github.com/openatx/wdaproxy +cd $GOPATH/src/github.com/openatx/wdaproxy ``` + +Update golang vendor +```bash brew install glide glide up ``` +Package web resources into binary + +```bash +go generate ./web +go build -tags vfs +``` + # LICENSE Under [MIT](LICENSE)