<commit_before>play-hierarchical-data
======================

A simple application that works with hierarchical data and [Play Framework](http://www.playframework.com/)'s [Anorm library](http://www.playframework.com/documentation/2.2.x/ScalaAnorm). Accompanying blog post here:

[ADD URL]

### Running this application

#### Prerequisites

* Play 2.2.x

  *This application was created in Play 2.2.1, but it should run with any 2.2.x version. It may also work with other 2.x versions.*

* Git

#### Instructions

1. Clone this repository:

    ```
    git clone https://github.com/dmanchester/play-hierarchical-data.git
    ```

2. Change to the application directory:

    ```
    cd play-hierarchical-data
    ```

3. Run the application:

    ```
    play run
    ```
    
<commit_msg>Added step around database evolutions.<commit_after>play-hierarchical-data
======================

A simple application that works with hierarchical data and [Play Framework](http://www.playframework.com/)'s [Anorm library](http://www.playframework.com/documentation/2.2.x/ScalaAnorm). Accompanying blog post here:

[ADD URL]

### Running this application

#### Prerequisites

* Play 2.2.x

  *This application was created in Play 2.2.1, but it should run with any 2.2.x version. It may also work with other 2.x versions.*

* Git

#### Instructions

1. Clone this repository:

    ```
    git clone https://github.com/dmanchester/play-hierarchical-data.git
    ```

2. Change to the application directory:

    ```
    cd play-hierarchical-data
    ```

3. Run the application:

    ```
    play run
    ```

4. Navigate to the application in a browser. When notified that the database needs evolution, click `Apply this script now`.
{'fraction_non_alphanumeric': 0.1388727484020918, 'fraction_numerical': 0.01568855316676351, 'mean_word_length': 3.484375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '4239305', 'n_tokens_mistral': 544, 'n_tokens_neox': 512, 'n_words': 168}