Browse Source

Merge branch 'master' of https://github.com/hastic/hastic-server

pull/1/head
rozetko 7 years ago
parent
commit
2bab088cf0
  1. 3
      README.md

3
README.md

@ -44,6 +44,7 @@ You can export following environment variables for hastic-server to use:
Example of running hastic-server on Debian / Ubuntu host: Example of running hastic-server on Debian / Ubuntu host:
``` ```
$ git clone https://github.com/hastic/hastic-server.git
$ export HASTIC_API_KEY=<your_grafana_api_key> $ export HASTIC_API_KEY=<your_grafana_api_key>
$ export HASTIC_PORT=<port_you_want_to_run_server_on> $ export HASTIC_PORT=<port_you_want_to_run_server_on>
# apt-get install python3 \ # apt-get install python3 \
@ -59,7 +60,7 @@ $ pip3 install scipy
$ pip3 install tsfresh $ pip3 install tsfresh
$ curl -sL https://deb.nodesource.com/setup_9.x | bash - $ curl -sL https://deb.nodesource.com/setup_9.x | bash -
# apt-get update && apt-get install -y nodejs # apt-get update && apt-get install -y nodejs
$ cd server $ cd hastic-server/server
$ npm install && npm run build $ npm install && npm run build
$ npm start $ npm start
``` ```

Loading…
Cancel
Save