<commit_before>Munkirjat V4...V5

# Installation & running

## Initial setup

* `cp config.js.dist to config.js` (and set required params)
* `cp .env.dist to .env` (and set required params)
* `npm install`
* `npm run start`
* Visit http://localhost:5688 

## Production

* `npm run deploy`
* Visit website

## Database

You can use `docs/munkirjat.sql` as a base.

## PM2 settings

pm2 start src/server.js --interpreter ./node_modules/.bin/babel-node --log munkirjat.log

## Nginx

* use docs/nginx.conf.dist as a base

## Auth0

This project uses Auth0 (https://auth0.com/) for user authentication/authorization. You will need to create an account and setup the project accordingly. 

See files `.env` and `src/config.js`:

* `AUTH0_CLIENT_ID=`
* `AUTH0_CLIENT_SECRET=`
* `AUTH0_DOMAIN=`
* `'auth0': {
        'client_id': '',
        'domain': ''
    }`   

## Caveats

These installation instructions are not complete and may not be presented in proper order. They mainly act as a reminder tomyself, should I need to re-install it later on, much later on...<commit_msg>-  fixed tpyo<commit_after>Munkirjat V4...V5

# Installation & running

## Initial setup

* `cp config.js.dist to config.js` (and set required params)
* `cp .env.dist to .env` (and set required params)
* `npm install`
* `npm run start`
* Visit http://localhost:5688 

## Production

* `npm run deploy`
* Visit website

## Database

You can use `docs/munkirjat.sql` as a base.

## PM2 settings

pm2 start src/server.js --interpreter ./node_modules/.bin/babel-node --log munkirjat.log

## Nginx

* use docs/nginx.conf.dist as a base

## Auth0

This project uses Auth0 (https://auth0.com/) for user authentication/authorization. You will need to create an account and setup the project accordingly. 

See files `.env` and `src/config.js`:

* `AUTH0_CLIENT_ID=`
* `AUTH0_CLIENT_SECRET=`
* `AUTH0_DOMAIN=`
* `'auth0': {
        'client_id': '',
        'domain': ''
    }`   

## Caveats

These installation instructions are not complete and may not be presented in proper order. They mainly act as a reminder to myself, should I need to re-install it later on, much later on...
{'fraction_non_alphanumeric': 0.12261072261072262, 'fraction_numerical': 0.013986013986013986, 'mean_word_length': 3.5274261603375527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1233597', 'n_tokens_mistral': 737, 'n_tokens_neox': 713, 'n_words': 248}