From 960942b1dc8b56c1bbc686399fce099a07cb6c44 Mon Sep 17 00:00:00 2001 From: Hugues Malphettes Date: Tue, 20 Jan 2015 13:17:56 +0800 Subject: [PATCH] New setup of kibana, npm install script --- README.md | 7 ++----- package.json | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fe8a78b..8921475 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,9 @@ Usage ``` git clone https://github.com/hmalphettes/kibana-proxy.git -cd kibana-proxy/ -git submodule init -git submodule update npm install -node app.js & -open http://localhost:3003 +npm start & +open http://localhost:3003/index.html open http://localhost:3003/_plugin/head open http://localhost:3003/_plugin/bigdesk ``` diff --git a/package.json b/package.json index 976e888..4ba5192 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Server tier for (kibana)[http://kibana.org/kibana3]; Proxies the calls to Elasticsearch and insert authentication.", "main": "app.js", "scripts": { - "install": "mkdir -p kibana; curl https://download.elasticsearch.org/kibana/kibana/kibana-3.1.2.tar.gz | tar xvzf - -C kibana --strip-components=1", + "install": "[ -f kibana/index.html ] && exit 0; mkdir -p kibana; curl https://download.elasticsearch.org/kibana/kibana/kibana-3.1.2.tar.gz | tar xvzf - -C kibana --strip-components=1", "start": "node app", "test": "" },