Giter VIP home page Giter VIP logo

kibana-plugin-dev-env's Introduction

kibana-plugin-dev-env

a dev env for kibana plugins

Prereqs

  • docker
  • docker-compose is optional.

Usage

  1. make a custom entry script such as saved as ./dev-entry.sh
#!/bin/bash
npm install
npm run build
npm start -- --elasticsearch.url "${ELASTICSEARCH_URL}" --no-ssl --server.host "${SERVER_NAME}"

if using docker-compose

  1. edit docker-compose.yml in your plugin folder.
version: '2'
services:
  kibana:
    container_name: kibana-plugin-dev
    image: danfrohlich/kibana-plugin-dev-env:v6.4.3
    entrypoint: /project/plugin_folder/dev-entry.sh
    environment:
      ELASTICSEARCH_URL: http://[your-es-host-here]:9200
      SERVER_NAME: 0.0.0.0
    volumes:
      - .:/project/plugin_folder
    ports:
      - "5601:5601"
    working_dir: /project/plugin_folder
  1. docker-compose up

docker (not using docker-compose)

  1. run the container.
docker run -d \
  --name kibana-plugin-dev \
  --entrypoint /project/plugin_folder/dev-entry.sh \
  -v .:/project/plugin_folder \
  -p 5601:5601 \
  -e "ELASTICSEARCH_URL=http://[your-es-host-here]:9200" \
  -w /project/plugin_folder \
  -e "SERVER_NAME=0.0.0.0" \
  danfrohlich/kibana-plugin-dev-env:v6.4.3

to run tets cases...

  1. enter running container
docker exec -it kibana-plugin-dev bash
  1. execute helper testing tasks
plugin-helpers test:server
plugin-helpers test:browser

RELEASE NOTES

  • updated to kibana v6.4.3

kibana-plugin-dev-env's People

Contributors

dan-frohlich avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.