<commit_before>
Getting Started
===============

This page describes how to setup the project on your computer
for local development.

.. contents::
   :local:


Prerequisites
-------------

- Git_
- Node.js_ v0.12
- Text Editor with EditorConfig_ support.

.. _Git: http://git-scm.com/
.. _Node.js: http://nodejs.org/
.. _EditorConfig: http://editorconfig.org/


Setting Up the Project
----------------------

.. note::
   
   For Windows users, there (will be) a dedicated quick-start guide.

First, you should create a folder for Bemuse development::

   mkdir Bemuse
   cd Bemuse

Then, clone the Bemuse repository and music repository::

   git clone <EMAIL>:bemusic/bemuse.git
   git clone <EMAIL>:bemusic/music.git

After these repository has been cloned, ``cd`` into the Bemuse repository::

   cd bemuse

Install the project's dependencies::

   npm install

When it finishes installing, start the development server::

   npm start

The game should be accessible at ``http://localhost:8080/?mode=app``.

To run unit tests, go to ``http://localhost:8080/?mode=test``.
<commit_msg>:memo: Remove music repo from instructions<commit_after>
Getting Started
===============

This page describes how to setup the project on your computer
for local development.

.. contents::
   :local:


Prerequisites
-------------

- Git_
- Node.js_ v0.12
- Text Editor with EditorConfig_ support.

.. _Git: http://git-scm.com/
.. _Node.js: http://nodejs.org/
.. _EditorConfig: http://editorconfig.org/


Setting Up the Project
----------------------

.. note::
   
   For Windows users, there (will be) a dedicated quick-start guide.

First, you should create a folder for Bemuse development::

   mkdir Bemuse
   cd Bemuse

Then, clone the Bemuse repository::

   git clone <EMAIL>:bemusic/bemuse.git

After these repository has been cloned, ``cd`` into the Bemuse repository::

   cd bemuse

Install the project's dependencies::

   yarn

When it finishes installing, start the development server::

   yarn start

The game should be accessible at ``http://localhost:8080/``.

To run unit tests, go to ``http://localhost:8080/?mode=test``.

{'fraction_non_alphanumeric': 0.1430581613508443, 'fraction_numerical': 0.010318949343339587, 'mean_word_length': 3.117760617760618, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '3380144', 'n_tokens_mistral': 675, 'n_tokens_neox': 622, 'n_words': 236}