<commit_before># Readme

A real distributed system managed by Kubernetes and composed of Docker containers which run EpTO developed in Python.

![EpTO Network](https://raw.githubusercontent.com/robzenn92/EpTODocker/master/resources/epto_pod_network/epto_pod_network.jpg)

## Requirements

Please, make sure your system has the following installed.
- [Python](https://www.python.org) (3.6)
- [Docker](https://www.docker.com)
- [Kubernetes](https://kubernetes.io) (for local setup download Minikube [v0.24.1](https://github.com/kubernetes/minikube/blob/v0.24.1/CHANGELOG.md))


## Setting up a Python development environment

One common problem with installing packages directly to your current site-packages area is that, if you have more than one project or use Python on your machine for things other than Django, you may run into dependency issues between your applications and the installed packages. For this reason, we'll be using virtualenv to manage our Django installation. This is common, and recommended, practice among Python and Django users. Please continue reading [here](https://jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/).

Once you have created a new virtual environment, you need to activate it running something like:

```
source ~/.virtualenvs/myenv3/bin/activate
```

Once you have done, you need to install all the packages listed in `requirements.txt`. To do so, you simply need to run the following commands.

```
$ git clone https://github.com/robzenn92/EpTODocker.git
$ cd EpTODocker
$ sh setup.sh
```

## Quick start with minikube

[Minikube](https://github.com/kubernetes/minikube) is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day. The latest released version of minikube is [v0.23.0](https://github.com/kubernetes/minikube/blob/v0.23.0/CHANGELOG.md).

Please, be sure that docker is running. In order to start up a single-node cluster run:

```
$ minikube start
```

In case you want to have more memory.
```
$ minikube start --memory 4096
```

In case you set up a local [Docker Registry](https://docs.docker.com/registry/), you need to run the following.<commit_msg>README.md updated<commit_after># Readme

A real distributed system managed by Kubernetes and composed of Docker containers which run EpTO developed in Python.

![EpTO Network](https://raw.githubusercontent.com/robzenn92/EpTODocker/master/resources/epto_pod_network/epto_pod_network.jpg)

## Requirements

Please, make sure your system has the following installed.
- [Python](https://www.python.org) (3.6)
- [Docker](https://www.docker.com)
- [Kubernetes](https://kubernetes.io) (for local setup download Minikube [v0.24.1](https://github.com/kubernetes/minikube/blob/v0.24.1/CHANGELOG.md))


## Setting up a Python development environment

One common problem with installing packages directly to your current site-packages area is that, if you have more than one project or use Python on your machine for things other than Django, you may run into dependency issues between your applications and the installed packages. For this reason, we'll be using virtualenv to manage our Django installation. This is common, and recommended, practice among Python and Django users. Please continue reading [here](https://jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/).

Once you have created a new virtual environment, you need to activate it running something like:

```
source ~/.virtualenvs/myenv3/bin/activate
```

Once you have done, you need to install all the packages listed in `requirements.txt`. To do so, you simply need to run the following commands.

```
$ git clone https://github.com/robzenn92/EpTODocker.git
$ cd EpTODocker
$ sh setup.sh
```

## Quick start with minikube

[Minikube](https://github.com/kubernetes/minikube) is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day. The latest released version of minikube is [v0.24.1](https://github.com/kubernetes/minikube/blob/v0.24.1/CHANGELOG.md).

Please, be sure that docker is running. In order to start up a single-node cluster run:

```
$ minikube start
```

In case you want to have more memory.
```
$ minikube start --memory 4096
```

In case you set up a local [Docker Registry](https://docs.docker.com/registry/), you need to run the following.
{'fraction_non_alphanumeric': 0.09635645302897278, 'fraction_numerical': 0.015364354697102721, 'mean_word_length': 4.5370595382746055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, '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': '32402', 'n_tokens_mistral': 1368, 'n_tokens_neox': 1273, 'n_words': 526}