<commit_before># Echo Web
Go web framework Echo example. 
> Echo middleware [echo-mw](https://github.com/hb-go/echo-mw)

> Echo中文文档 [go-echo.org](http://go-echo.org/)

> Requires
- go1.8+
- Echo V3

> [在线演示](http://echo.www.hbchen.com/)

#### 目录
- [环境配置](#环境配置)
- [运行](#运行)
- [打包](#打包)
- [目录结构](#目录结构)
- [框架功能](#框架功能)
- [Supervisord部署](#supervisord%E9%83%A8%E7%BD%B2)
- [Confd管理配置](#confd%e7%ae%a1%e7%90%86%e9%85%8d%e7%bd%ae)
- [OpenTracing](#opentracing)
- [Docker部署](#docker%e9%83%a8%e7%bd%b2)

## 环境配置

##### 1.源码下载
```shell
$ go get ithub.com:hb-go/echo-web
```

##### 2.依赖安装
> [glide工具安装](https://github.com/Masterminds/glide#install)

> .glide/mirrors.yaml[设置参考](glide.mirrors.yaml)
```shell
# 编辑mirrors.yaml，或命令行glide mirror set [original] [replacement] --vcs [type]
$ vi ~/.glide/mirrors.yaml

# 查看glide mirror
$ glide mirror list

$ cd $GOPATH/src/github.com/hb-go
$ glide install
```

##### 3.MySQL配置<commit_msg>readme update<commit_after># Echo Web
Go web framework Echo example. 
> Echo middleware [echo-mw](https://github.com/hb-go/echo-mw)

> Echo中文文档 [go-echo.org](http://go-echo.org/)

> Requires
- go1.8+
- Echo V3

> [在线演示](http://echo.www.hbchen.com/)

#### 目录
- [环境配置](#环境配置)
- [运行](#运行)
- [打包](#打包)
- [目录结构](#目录结构)
- [框架功能](#框架功能)
- [Supervisord部署](#supervisord%E9%83%A8%E7%BD%B2)
- [Confd管理配置](#confd%e7%ae%a1%e7%90%86%e9%85%8d%e7%bd%ae)
- [OpenTracing](#opentracing)
- [Docker部署](#docker%e9%83%a8%e7%bd%b2)

## 环境配置

##### 1.源码下载
```shell
$ go get github.com:hb-go/echo-web
```

##### 2.依赖安装
> [glide工具安装](https://github.com/Masterminds/glide#install)

> .glide/mirrors.yaml[设置参考](glide.mirrors.yaml)
```shell
# 编辑mirrors.yaml，或命令行glide mirror set [original] [replacement] --vcs [type]
$ vi ~/.glide/mirrors.yaml

# 查看glide mirror
$ glide mirror list

$ cd $GOPATH/src/github.com/hb-go
$ glide install
```

##### 3.MySQL配置
{'fraction_non_alphanumeric': 0.23631436314363144, 'fraction_numerical': 0.032520325203252036, 'mean_word_length': 4.662576687116564, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5053620', 'n_tokens_mistral': 1009, 'n_tokens_neox': 1015, 'n_words': 114}