Code Monkey home page Code Monkey logo

marathon-ui-example-plugin's Introduction

Marathon UI Example Plugin


โš ๏ธ Please be aware that this is an example implementation and still experimental. Use at your own risk.


Prerequisites

Please make sure you've installed and properly configured the following software:

Setup

1. Install all dependencies

npm install

2. Configure your hosts

If you're not using something like dnsdock or dinghy (OS X) for easy container discovery/access, please configure your hosts as follows:

mesos-master.docker 192.168.99.100
mesos-slave.docker  192.168.99.100
marathon.docker     192.168.99.100

Use $ docker-machine ip $DOCKER_MACHINE_NAME to get the current docker machine ip and add those lines to your etc/hosts configuration.

3. Build and pack the plugin

Before we can start the development environment, we need to initially build and pack the plugin to start Marathon with with the correct plugin configuration. Use the following command to build and pack the plugin:

npm run pack

You could alternatively use sbt to build and pack the plugin:

sbt clean build-ui pack

4. Start your environment

The following command will download, configure and start a basic Zookeeper, Mesos and Marathon setup for you. It will also proxy the plugin for you, to eliminate the need to restart Marathon after every change.

docker-compose up

Open http://marathon.docker:8080 and enjoy your plugin.

5. Build your plugin

Running the following command will build your plugin and watch for file changes to rerun the build.

npm run build -- --watch

6. Release your cool new plugin

You could user either of the following commands to build and pack the plugin:

npm run pack
sbt clean build-ui pack

marathon-ui-example-plugin's People

Contributors

aldipower avatar philipnrmn avatar

Watchers

Tim Ehlers 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.