<commit_before>[![Stories in Ready](https://badge.waffle.io/alekseiko/tow.png?label=ready&title=Ready)](https://waffle.io/alekseiko/tow)
[![Build Status](https://travis-ci.org/alekseiko/tow.svg)](https://travis-ci.org/alekseiko/tow)
[![Coverage Status](https://coveralls.io/repos/alekseiko/tow/badge.svg)](https://coveralls.io/r/alekseiko/tow)
[![Code Climate](https://codeclimate.com/github/alekseiko/tow/badges/gpa.svg)](https://codeclimate.com/github/alekseiko/tow)                
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alekseiko/tow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Tow - configuration management tool for Docker
==============================================

## Overview

Tow provides a workflow for building docker images with dynamics configuration files using templates. The main concept is processing all configuration templates outside of container and then build image using pre-processed files.

Here how it works:

![Tow process diagram](docs/images/tow-process.png)

## Installation

Latest stable release is always available on PyPi.

```
pip install tow
```

## Getting Started

Check out [Getting Started Guide](docs/introduction.md) to get more familiar with Tow.

If you are looking real world example of Tow project checkout: [tow-nginx](https://github.com/yurinnick/tow-nginx) - an example Tow project set up Nginx in most simple configuration.

## Usage

```
tow [command] <options>

Commands:
    create <projectname> - create new tow project in current directory
    build - process configs and build images
        [--run-tow] - executes tow.sh on start
    run [-e <parameter>][args] <image> - process configuration files overrides and start container
```

Tow also provide a docker image for working on distros like [CoreOS](https://coreos.com)

```
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/workspace tow <parameters>
```

## License

Tow is licensed under the Apache License, Version 2.0. See LICENSE for full license text

```
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
```






<commit_msg>Reorganize badges<commit_after>Tow - configuration management tool for Docker
==============================================

[![Build Status](https://travis-ci.org/alekseiko/tow.svg)](https://travis-ci.org/alekseiko/tow)
[![Coverage Status](https://coveralls.io/repos/alekseiko/tow/badge.svg)](https://coveralls.io/r/alekseiko/tow)
[![Code Climate](https://codeclimate.com/github/alekseiko/tow/badges/gpa.svg)](https://codeclimate.com/github/alekseiko/tow)    

[![Stories in Ready](https://badge.waffle.io/alekseiko/tow.png?label=ready&title=Ready)](https://waffle.io/alekseiko/tow)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alekseiko/tow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)


## Overview

Tow provides a workflow for building docker images with dynamics configuration files using templates. The main concept is processing all configuration templates outside of container and then build image using pre-processed files.

Here how it works:

![Tow process diagram](docs/images/tow-process.png)

## Installation

Latest stable release is always available on PyPi.

[![PyPi version](https://pypip.in/v/tow/badge.png)](https://crate.io/packages/tow/)
[![PyPi downloads](https://pypip.in/d/tow/badge.png)](https://crate.io/packages/tow/)

```
pip install tow
```

## Getting Started

Check out [Getting Started Guide](docs/introduction.md) to get more familiar with Tow.

If you are looking real world example of Tow project checkout: [tow-nginx](https://github.com/yurinnick/tow-nginx) - an example Tow project set up Nginx in most simple configuration.

## Usage

```
tow [command] <options>

Commands:
    create <projectname> - create new tow project in current directory
    build - process configs and build images
        [--run-tow] - executes tow.sh on start
    run [-e <parameter>][args] <image> - process configuration files overrides and start container
```

Tow also provide a docker image for working on distros like [CoreOS](https://coreos.com)

```
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/workspace tow <parameters>
```

## License

Tow is licensed under the Apache License, Version 2.0. See LICENSE for full license text

```
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
```

{'fraction_non_alphanumeric': 0.13699647299053277, 'fraction_numerical': 0.002970113235567106, 'mean_word_length': 4.5489186405767255, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 28, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6448926', 'n_tokens_mistral': 1709, 'n_tokens_neox': 1595, 'n_words': 513}