<commit_before># Marathon UI Example Plugin

---

⚠️ Please be aware that this is an example implementation and still experimental.
Use at your own risk.

---

### Prerequisite

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

* [Docker 1.9](https://www.docker.com/)
* [sbt 0.13.8](http://www.scala-sbt.org/index.html)
* [Node 5](https://nodejs.org/en/blog/release/v5.0.0/) including [NPM](https://npmjs.org/)

### Setup

#### 1. Install all dependencies

        npm install

#### 2. Configure your hosts

If you're not using something like [dnsdock](https://github.com/tonistiigi/dnsdock) or [dinghy](https://github.com/codekitchen/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 your plugin

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

       npm run build -- --watch

#### 5. Start your environment

The following command will download, configure and start a basic Zookeeper, Mesos and Marathon setup for you.

       docker-compose up

Open http://marathon.docker:8080 and enjoy your plugin.
<commit_msg>Fix a typo<commit_after># Marathon UI Example Plugin

---

⚠️ Please be aware that this is an example implementation and still experimental.
Use at your own risk.

---

### Prerequisite

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

* [Docker 1.9](https://www.docker.com/)
* [sbt 0.13.8](http://www.scala-sbt.org/index.html)
* [Node 5](https://nodejs.org/en/blog/release/v5.0.0/) including [NPM](https://npmjs.org/)

### Setup

#### 1. Install all dependencies

        npm install

#### 2. Configure your hosts

If you're not using something like [dnsdock](https://github.com/tonistiigi/dnsdock) or [dinghy](https://github.com/codekitchen/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 your plugin

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

       npm run build -- --watch

#### 4. Start your environment

The following command will download, configure and start a basic Zookeeper, Mesos and Marathon setup for you.

       docker-compose up

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

{'fraction_non_alphanumeric': 0.11232011232011233, 'fraction_numerical': 0.0358020358020358, 'mean_word_length': 3.5310015898251192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6009606', 'n_tokens_mistral': 956, 'n_tokens_neox': 839, 'n_words': 310}