<commit_before>Nappikauppa 2
=============

Initial setup
-------------

1. Copy config/config-sample.js to config/config.js and modify as needed
2. Copy config/public/frontend-sample.js to config/public/frontend.js and modify as needed
3. Run db/tables.sql, db/venues.sql and db/test-data.sql against your database (e.g. `mysql nappikauppa2 < db/tables.sql`)
4. Run db/evolutions/01_add_production_to_discount_code.sql against your database

Running the dev enviroment
-------------

( Assuming that you have [npm](https://www.npmjs.com/) installed )

1. `npm install` for installing dependencies (including typing infos)
2. Run `gulp`
3. Go to [http://localhost:3000/](http://localhost:3000/)

Deploying to production
-------------
<commit_msg>Add note about having gulp and mysql in addition to npm<commit_after>Nappikauppa 2
=============

Initial setup
-------------

1. Copy config/config-sample.js to config/config.js and modify as needed
2. Copy config/public/frontend-sample.js to config/public/frontend.js and modify as needed
3. Run db/tables.sql, db/venues.sql and db/test-data.sql against your database (e.g. `mysql nappikauppa2 < db/tables.sql`)
4. Run db/evolutions/01_add_production_to_discount_code.sql against your database

Running the dev enviroment
-------------

( Assuming that you have [npm](https://www.npmjs.com/), [gulp](https://gulpjs.com/) and [mysql (maridb)](https://mariadb.org/) installed )

1. `npm install` for installing dependencies (including typing infos)
2. Run `gulp`
3. Go to [http://localhost:3000/](http://localhost:3000/)

Deploying to production
-------------

{'fraction_non_alphanumeric': 0.16998754669987548, 'fraction_numerical': 0.023661270236612703, 'mean_word_length': 3.526760563380282, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5744170', 'n_tokens_mistral': 534, 'n_tokens_neox': 497, 'n_words': 154}