Commit 1f627a1f by huangchengyi

1.0

parent 36f557b9
Showing with 1 additions and 1 deletions
......@@ -3,13 +3,13 @@
cd /data/golang/search_server
git reset --hard HEAD
git pull origin dev
chmod +x /data/golang/search_server/update.sh
filename="/data/golang/search_server/cmd/http/http"
rm -f $filename
export GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
go build -o /data/golang/search_server/cmd/http/http /data/golang/search_server/cmd/http/http_server.go
chmod +x /data/golang/search_server/cmd/http/http
chmod +x /data/golang/search_server/update.sh
supervisorctl restart go_search_server_9008:*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment