A analytics system write by golang.
curl -XPOST http://localhost:9200/analytics/ -d@index.template.json
make sure return {"acknowledged":true}
export ENV_ELASTICSEARCH_HOST=localhost
go run server.go :8001
export ENV_TEST_SERVER=http://localhost:8001
go test
./build.sh
cd html
python -m SimpleHTTPServer 8002