<commit_before>Configuring NNTPChan server
===========================

This document provides a step-by-step guide to configurin your NNTPChan node.

##Configuring via web-interface

You can configure NNTPChan via the web-interface by navigating your browser to http://127.0.0.1:18000.

###Selecting yoru data-storage system

![Image 1](http://i.imgur.com/l9iiXxB.png)

First your will be asked what data-storage system you would like to use. We support Redis and PostgreSQL.

####Redis configuration

![Image 2](http://i.imgur.com/HDp4Ddf.png)

If you have chosen Redis then fill in the fields below:

* **Hostname or IP Address** - This is the hostname or IP address of your Redis server (I would run it locally to be safe).
* **Port** - The port that your Redis server is running on.<commit_msg>Update config.md<commit_after>Configuring NNTPChan server
===========================

This document provides a step-by-step guide to configurin your NNTPChan node.

##Configuring via web-interface

You can configure NNTPChan via the web-interface by navigating your browser to http://127.0.0.1:18000.

###Selecting yoru data-storage system

![Image 1](http://i.imgur.com/l9iiXxB.png)

First your will be asked what data-storage system you would like to use. We support Redis and PostgreSQL.

<hr>

####Redis configuration

![Image 2](http://i.imgur.com/HDp4Ddf.png)

If you have chosen Redis then fill in the fields below:

* **Hostname or IP Address** - This is the hostname or IP address of your Redis server (I would run it locally to be safe).
* **Port** - The port that your Redis server is running on.
{'fraction_non_alphanumeric': 0.12258867454884878, 'fraction_numerical': 0.018668326073428748, 'mean_word_length': 4.377926421404682, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5164711', 'n_tokens_mistral': 506, 'n_tokens_neox': 477, 'n_words': 205}