Follow instructions below
Node.js 6.14+
wget https://github.com/hastic/hastic-server/releases/download/0.5.1/hastic-server-0.5.1.tar.gz
tar -zxvf hastic-server-0.5.1.tar.gz
cd hastic-server-0.5.1/server/dist
node server
git
node.js 6.14+
python >= 3.6.5 and < 3.7.0 with pip3
git clone --recursive https://github.com/hastic/hastic-server.git
# or `git submodule update --init --recursive` inside `hastic-server` directory if it's already cloned
cd hastic-server
pip3 install -r analytics/requirements.txt
cd server
npm install
npm run build
cd hastic-server/server
npm start
Docker
docker pull hastic/server
docker run -d \
--name hastic-server \
--ipc host \
-p 80:8000 \
-e HASTIC_API_KEY=<your_grafana_api_key> \
-v /tmp:/tmp \
hastic/server
CentOS 7 / RHEL 7
Node.js 6.14+
wget https://github.com/hastic/hastic-server/releases/download/0.5.1/hastic-server-0.5.1.rpm
sudo rpm -i hastic-server-0.5.1.rpm
sudo hastic-server
Hastic server
Grafana version >= 5.4.0
Navigate to either:
- $GRAFANA_PATH/data/plugins/ (when Grafana is installed from tarball or source) - or /var/lib/grafana/plugins (when Grafana is installed from .deb/.rpm package)wget https://github.com/hastic/hastic-grafana-app/releases/download/0.5.1/corpglory-hastic-app-0.5.1.tar.gz
tar -zxvf corpglory-hastic-app-0.5.1.tar.gz
restart Grafana server
Node.js version >= 6.14
Hastic server
Grafana version >= 5.4.0
cd $GRAFANA_PATH/data/plugins
git clone https://github.com/hastic/hastic-grafana-app.git
cd $GRAFANA_PATH/data/plugins/hastic-grafana-app
npm install && npm run build
restart Grafana server