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": "" },