<commit_before># wmjug-docker-example
<p>A very simple dockerized Random Whale generator spring boot app using spotify maven plugin to build images using the maven lifecycle.</p>

<p>The original presentation can be found here: <b><i>https://docs.google.com/presentation/d/1oL0X5nZ5h78E_NNB9ATI8l1hIiWSKmgkSp2DkACppzE/edit?usp=sharing</i></b></p>

<b>Howto</b>

<ul>
  <li>Install & configure Docker for your OS (https://docs.docker.com/installation/#installation)</li>
  <li>Check that it is started correctly by issuing <b><i>docker info<i></b> at the command line</li>
  <li>Install Maven 3 & Java 8</li>
  <li>Run <b><i>mvn clean package docker:build</i></b> to create the spring boot jar and build a docker image</li>
  <li>Run <b><i>docker run -i -p 8080:8080 wmjug-docker-random-whale</i></b></li>
  <li>Run <b><i>curl http://ip-of-your-docker-app:8080/randomeWhale</i></b> Should output a random whale JSON object</li>
</ul>
<commit_msg>Corrected service url<commit_after># wmjug-docker-example
<p>A very simple dockerized Random Whale generator spring boot app using spotify maven plugin to build images using the maven lifecycle.</p>

<p>The original presentation can be found here: <b><i>https://docs.google.com/presentation/d/1oL0X5nZ5h78E_NNB9ATI8l1hIiWSKmgkSp2DkACppzE/edit?usp=sharing</i></b></p>

<b>Howto</b>

<ul>
  <li>Install & configure Docker for your OS (https://docs.docker.com/installation/#installation)</li>
  <li>Check that it is started correctly by issuing <b><i>docker info<i></b> at the command line</li>
  <li>Install Maven 3 & Java 8</li>
  <li>Run <b><i>mvn clean package docker:build</i></b> to create the spring boot jar and build a docker image</li>
  <li>Run <b><i>docker run -i -p 8080:8080 wmjug-docker-random-whale</i></b></li>
  <li>Run <b><i>curl http://ip-of-your-docker-app:8080/randomWhale</i></b> Should output a random whale JSON object</li>
</ul>

{'fraction_non_alphanumeric': 0.15392725355824988, 'fraction_numerical': 0.025303110173958882, 'mean_word_length': 4.9498432601880875, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 4, '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': '277446', 'n_tokens_mistral': 754, 'n_tokens_neox': 690, 'n_words': 188}