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 ```