Giter VIP home page Giter VIP logo

marathon-ui's Introduction

Stories in Ready

Marathon UI Build Status Teamcity Snapshot UI Webjar Build Status Coverage Status

Marathon UI

The web user interface for Mesosphere's Marathon

The UI is bundled with the Marathon package.

Please note that issues are disabled for this repository. Please feel free to open an issue on the issues page on the main Marathon Repository.

Documentation

Documentation for the Marathon UI (work in progress) can be found at https://mesosphere.github.io/marathon/docs/marathon-ui.html.

Setup


There are two ways to set up and configure your development environment:

  1. ๐Ÿค– Set up Mesos and Marathon following this tutorial and install a CORS proxy on your machine.
  2. ๐Ÿณ Use the handy docker-based setup

๐Ÿค– Prerequisites

There are a few things you need, before you can start working. Please make sure you've installed and properly configured the following software:

  • Node 5 including NPM
  • Mesos and Marathon (follow the tutorial here)
  • Set up a CORS proxy on your machine to proxy the UI requests to your running Marathon instance (e.g. via Corsproxy)
๐Ÿค– 1. Install all dependencies
    npm install
    npm install -g gulp
๐Ÿค– 2. Override development configuration
1. Copy `src/js/config/config.template.js` to `src/js/config/config.dev.js`
2. Override variables in `config.dev.js` to reflect your local development
configuration
๐Ÿค– 3. Run development environment
npm run serve

or

npm run livereload

for a browsersync live-reload server.


๐Ÿณ Prerequisites

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

๐Ÿณ 1. Install all dependencies
    npm install
    npm install -g gulp
๐Ÿณ 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.

๐Ÿณ 4. Start your environment

The following command will download, configure and start a basic Zookeeper, Mesos and Marathon setup for you. It will also serve the Marathon UI.

   docker-compose up
๐Ÿณ 5. Build your very own Marathon UI

Running the following command will build the Marathon UI and watch for file changes to rerun the build.

   npm run serve

Open http://marathon.docker:8080 to enjoy your fresh build.

Contributing to this project

Please refer to the CONTRIBUTING.md file.

marathon-ui's People

Contributors

aldipower avatar bobrik avatar burke avatar chadroffey avatar connordoyle avatar crackcomm avatar drexin avatar grampelberg avatar hshoff avatar janisz avatar leemunroe avatar mbabineau avatar mcmil avatar mlunoe avatar mohitsoni avatar mohitsoni-ebay avatar philipnrmn avatar pierluigi avatar poltergeist avatar quamilek avatar raffo avatar rcorral avatar sascala avatar solarkennedy avatar solidsnack avatar ssk2 avatar ssorallen avatar sttts avatar vixns avatar wavesoft avatar

Watchers

 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.