<commit_before>kixi.eventlog
=============

A kixi module to accept events and store them


dev setup
---------

To build the docker images(s) a few prep steps are required:
 - You need to arrange to have docker listening on a tcp port... It should start with a command like:

    /usr/bin/docker -d -H fd:// -H tcp://localhost:2375

 - Then run lein uberimage. This currently creates TWO images, appropriately tagged, but doesn't push them to the public docker repo.


deployment prerequesites
------------------------

You will need an account on [Docker Hub](http://hub.docker.com) and be a member of the MastodonC organization.

You will need to be logged in to that account from docker's point of view (You only need to do this once).

```
docker login
```

deployment
----------

To build the ``kixi.eventlog`` docker image and publish it to [Docker Hub](http://hub.docker.com)

```
lein clean

# this throws exceptions about LOGSTASH port is undefined that can be ignored
lein uberimage

docker push mastodonc/kixi.eventlog:latest<commit_msg>Further tweak to deployment instructions.<commit_after>kixi.eventlog
=============

A kixi module to accept events and store them


deployment prerequesites
------------------------

- You will need an account on [Docker Hub](http://hub.docker.com) and be a member of the MastodonC organization.

- You will need to be logged in to that account from docker's point of view (You only need to do this once).

```
docker login
```

- You need to arrange to have docker listening on a tcp port... It should start with a command like (no trailing slash on the tcp://* bit):

```
/usr/bin/docker -d -H fd:// -H tcp://localhost:2375
```

deployment
----------

To build the ``kixi.eventlog`` docker image and publish it to [Docker Hub](http://hub.docker.com)

```
lein clean

# this throws exceptions about LOGSTASH port is undefined that can be ignored
lein uberimage

docker push mastodonc/kixi.eventlog:latest
{'fraction_non_alphanumeric': 0.12947799385875128, 'fraction_numerical': 0.0040941658137154556, 'mean_word_length': 3.259259259259259, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '153486', 'n_tokens_mistral': 598, 'n_tokens_neox': 540, 'n_words': 261}