Browse Source

Update README.md

pull/1/head
Alexey Velikiy 7 years ago committed by GitHub
parent
commit
def174d126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 35
      README.md

35
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) [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) | [Website](https://hastic.io) |
[Twitter](https://twitter.com/hasticio) | [Twitter](https://twitter.com/hasticio)
Implementation of basic pattern recognition for anomaly detection. Implementation of basic pattern recognition for anomaly detection.
@ -17,21 +17,10 @@ See also:
Server needs Grafana's API key (http://<your_grafana_url>/org/apikeys) to query data from Grafana datasources. Server needs Grafana's API key (http://<your_grafana_url>/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: * [Linux](#linux)
* [Docker](#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=<your_grafana_api_key> hastic-server
```
### Linux ### Linux
@ -67,6 +56,22 @@ cd ./hastic-server/server
npm start 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=<your_grafana_api_key> hastic-server
```
### Known bugs & issues ### Known bugs & issues
- If you add labeled segments while learning - it fails - If you add labeled segments while learning - it fails

Loading…
Cancel
Save