Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 784 Bytes

DEVELOPER.md

File metadata and controls

41 lines (30 loc) · 784 Bytes

Dev

Install dependencies, clear plugin cache, redeploy and restart

You have to use bower-installer in order no to package all the modules in your plugin, but only the mandatory files:

npm install -g bower-installer

Then all the necessary files will be in public/deps.

In the kibana-slider-plugin, run :

bower-installer

Then, to test it, you can copy all the directory directly into the plugins directory of Kibana :

cd <KIBANA_DIRECTORY>
rm -rf ./optimize/*
cp -R kibana-slider-plugin ./plugins/

Then restart Kibana :

bin/kibana

Release

To make a release package, just run the build.sh script :

./build.sh

Debug scope

  1. Open Firebug
  2. Select HTML
  3. Enter angular.element($0).scope() in console