<commit_before>**Please note: This app is being developed. There may be bugs, and everything is subject to change.**

# App Name @todo

Description @todo

## Running the site locally

Start by creating a new Firebase project from the [console](https://console.firebase.google.com/) and then setup the Firebase CLI.

**Important**: This project uses a local Firebase emulator, which mean you need to install the Firebase CLI globally.

    npm install -g firebase-tools

Clone this repository:

    git clone <EMAIL>:xwp/web-dev-media.git

Go to the project folder:

    cd web-dev-media

Login to Firebase:

    firebase login

Initialize Firebase:

    firebase init

Install the dependencies:

    npm install

Start the Firebase emulator:

    npm start

## Build process

Project uses Rollup to build the main application JS file and the Service Worker file. No transpilation is done, the tooling exists
mostly just to resolve ES Modules in the Service Worker context. Usage:

* `npm run build`: Build the `/public/js/index.js` and `/public/sw.js` files.
* `npm run watch`: Watch for changes to files in `/src` and rebuild files as necessary on the fly.<commit_msg>Update docs for continuity<commit_after>**Please note: This app is being developed. There may be bugs, and everything is subject to change.**

# App Name @todo

Description @todo

## Running the site locally

Start by creating a new project from the [Firebase Console](https://console.firebase.google.com/) and then setup the Firebase CLI with NPM.

**Important**: This project uses a local Firebase emulator, which mean you need to install the Firebase CLI globally.

    npm install -g firebase-tools

Clone this repository:

    git clone <EMAIL>:xwp/web-dev-media.git

Go to the project folder:

    cd web-dev-media

Login to Firebase:

    firebase login

Initialize Firebase:

    firebase init

Install the dependencies:

    npm install

Build the assets:

    npm run build

**Note**: This project uses Rollup to build the JavaScript assets. No transpilation is currently being done, the tooling exists mainly to resolve ES Modules in the Service Worker.

You can also have Rollup watch for changes in the `/src` directory and rebuild them on the fly.

Watch and build the assets:

    npm run watch

Finally, start the Firebase emulator:

    npm start
{'fraction_non_alphanumeric': 0.06389365351629503, 'fraction_numerical': 0.0, 'mean_word_length': 3.7612244897959184, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '30378', 'n_tokens_mistral': 667, 'n_tokens_neox': 629, 'n_words': 322}