<commit_before>StPackages
==========

(name subject to change)

This is a nodejs Web application listing sublime text packages.

Installation
------------

    $ make install

Import
------

An import script is provided to import existing packages living in [Package Control](); you need to set the `GITHUB_API_TOKEN` env var to make it work:

    $ GITHUB_API_TOKEN=<KEY>6 make import.js

Indexation
----------

Then data should be indexed for the search engine to work:

    $ make index

Run
---

Development:

Be sure to have [nodemon](https://github.com/remy/nodemon) installed, then:
<commit_msg>added note about data directory creation<commit_after>StPackages
==========

(name subject to change)

This is a nodejs Web application listing sublime text packages.

Installation
------------

    $ make install

Be sure to create a `data` directory at the root of the project installation:

    $ mkdir data

Import
------

An import script is provided to import existing packages living in [Package Control](); you need to set the `GITHUB_API_TOKEN` env var to make it work:

    $ GITHUB_API_TOKEN=<KEY>6 make import.js

Indexation
----------

Then data should be indexed for the search engine to work:

    $ make index

Run
---

Development:

Be sure to have [nodemon](https://github.com/remy/nodemon) installed, then:

{'fraction_non_alphanumeric': 0.11746987951807229, 'fraction_numerical': 0.0015060240963855422, 'mean_word_length': 3.2733118971061095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3763469', 'n_tokens_mistral': 392, 'n_tokens_neox': 376, 'n_words': 161}