diff --git a/README.md b/README.md index d9b7099..072c532 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [Hastic server](https://hastic.io) [![Travis CI](https://travis-ci.org/hastic/hastic-server.svg?branch=master)](https://travis-ci.org/hastic/hastic-server) ================ [Website](https://hastic.io) | -[Twitter](https://twitter.com/hasticio) | +[Twitter](https://twitter.com/hasticio) Implementation of basic pattern recognition for anomaly detection. @@ -15,23 +15,12 @@ See also: ## Build & run Server needs Grafana's API key (http:///org/apikeys) to query data from Grafana datasources. -API key role needs only `Viewer` access. +API key role needs only `Viewer` access. -### Docker +You can install it on: -Example of running hastic-server in Docker: - -#### Build -```bash -git clone https://github.com/hastic/hastic-server.git -cd hastic-server -docker build -t hastic-server . -``` - -#### Run -```bash -docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY= hastic-server -``` +* [Linux](#linux) +* [Docker](#docker) ### Linux @@ -67,6 +56,22 @@ cd ./hastic-server/server npm start ``` +### Docker + +Example of running hastic-server in Docker: + +#### Build +```bash +git clone https://github.com/hastic/hastic-server.git +cd hastic-server +docker build -t hastic-server . +``` + +#### Run +```bash +docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY= hastic-server +``` + ### Known bugs & issues - If you add labeled segments while learning - it fails