From 0f535bd26d1b656aa2479a2f8d5f4ddad1b94b7a Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Sat, 26 May 2018 19:44:29 +0300 Subject: [PATCH] docs++ --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 600ad2b..b5fae22 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ See also: Server needs Grafana's API key (http:///org/apikeys) to query data from Grafana datasources. API key role needs only `Viewer` access. -### Docker installation +### Docker Example of running hastic-server in Docker: @@ -23,7 +23,7 @@ docker build -t hastic-server . docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY= hastic-server ``` -### Linux installation +### Linux #### Environment variables @@ -38,16 +38,22 @@ You need in your system: * [python3 python3-pip](https://www.python.org/downloads/) * curl gnupg git make g++ +### Intallation +```bash +pip3 install pandas seglearn scipy tsfresh + +git clone https://github.com/hastic/hastic-server.git +cd ./hastic-server/server +npm install +npm run build -Example of running hastic-server on Debian / Ubuntu host: +``` +### Run ```bash -$ pip3 install pandas seglearn scipy tsfresh $ export HASTIC_API_KEY= $ export HASTIC_PORT= -$ git clone https://github.com/hastic/hastic-server.git -$ cd hastic-server/server -$ npm install && npm run build -$ npm start +cd ./hastic-server/server +npm start ```