<commit_before>OLog
====

Getting started
---------------

OLog mainly consists of two parts. You are currently looking at the server part.

Clone the repository, checkout the develop tree and you got yourself your own OLog server.
Once it runs, use the OLog userscript to send data to the server.

Build, run and deploy
---------------------

To compile the server fresh from the source and run, the following will suffice:

    grails run-app

To deploy the server in environments like Tomcat, you'll need a WAR file.

    grails war

By default the WAR will be build in `/build/libs/` as `OLog-*.war`, where `*` is the current version.

In Tomcat, deploy the WAR in the `webapps` folder. By default, the WAR will be extracted to a `OLog-*` directory.

When run from the source, the server is available by default at `localhost:8080`.

When deployed, the server is available at `localhost:8080/OLog-*`.

Unit tests
----------

Unit tests are still being worked on.

How to contribute
-----------------

This is a rapidly changing work in progress. That means pull requests are in danger of becoming obsolete before they arrive.<commit_msg>added note about opening in intellij<commit_after>OLog
====

Getting started
---------------

OLog mainly consists of two parts. You are currently looking at the server part.

Clone the repository, checkout the develop tree and you got yourself your own OLog server.
Once it runs, use the OLog userscript to send data to the server.

Working in an IDE
-----------------

You can import the project in IntelliJ by opening `build.gradle`.

Note: there may be [some quirks](https://github.com/libgdx/libgdx/wiki/Gradle-and-Intellij-IDEA) with Gradle.

Build, run and deploy
---------------------

To compile the server fresh from the source and run, the following will suffice:

    grails run-app

To deploy the server in environments like Tomcat, you'll need a WAR file.

    grails war

By default the WAR will be build in `/build/libs/` as `OLog-*.war`, where `*` is the current version.

In Tomcat, deploy the WAR in the `webapps` folder. By default, the WAR will be extracted to a `OLog-*` directory.

When run from the source, the server is available by default at `localhost:8080`.

When deployed, the server is available at `localhost:8080/OLog-*`.

Unit tests
----------

Unit tests are still being worked on.

How to contribute
-----------------

This is a rapidly changing work in progress. That means pull requests are in danger of becoming obsolete before they arrive.
{'fraction_non_alphanumeric': 0.11349206349206349, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 3.0015873015873016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '433069', 'n_tokens_mistral': 689, 'n_tokens_neox': 662, 'n_words': 366}