Skip to content

phyng/goanalytics

Repository files navigation

go-analytics

A analytics system write by golang.

Load template to ElasticSearch

curl -XPOST http://localhost:9200/analytics/ -d@index.template.json

make sure return {"acknowledged":true}

Run

export ENV_ELASTICSEARCH_HOST=localhost
go run server.go :8001

Test

export ENV_TEST_SERVER=http://localhost:8001
go test

build

./build.sh

deploy

cd html
python -m SimpleHTTPServer 8002

About

A analytics system powered by golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published