<commit_before># LookieHere

_📱✨ Sample mobile app with [react-native](https://facebook.github.io/react-native/)._

## Setup

_(Steps for macOS. See links below for Linux/Windows setup instructions.)_

Make sure you have [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12), [Node.js](https://nodejs.org/en/) (>=6.x.x) and [Homebrew](https://brew.sh) installed. Then:

1. [Install react-native](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies) as a global package:

    ```shell
    $ npm install -g react-native-cli
    ```
2. [Install watchman](https://facebook.github.io/watchman/docs/install.html#buildinstall):

    ```shell
    # On OS X with Homebrew:
    $ brew install watchman
    ```
3. Clone the repository:

    ```shell
    $ git clone <EMAIL>:swashcap/LookieHere.git
    $ cd LookieHere
    ```
4. Install dependencies using [npm](https://www.npmjs.com):

    ```shell
    $ npm install
    ```

## Running

Open a terminal and `cd` to the project directory. To start the react-native packager server, run:<commit_msg>Add configuration setup documentation.<commit_after># LookieHere

_📱✨ Sample mobile app with [react-native](https://facebook.github.io/react-native/)._

## Setup

_(Steps for macOS. See links below for Linux/Windows setup instructions.)_

Make sure you have [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12), [Node.js](https://nodejs.org/en/) (>=6.x.x) and [Homebrew](https://brew.sh) installed. Then:

1. [Install react-native](https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies) as a global package:

    ```shell
    $ npm install -g react-native-cli
    ```
2. [Install watchman](https://facebook.github.io/watchman/docs/install.html#buildinstall):

    ```shell
    # On OS X with Homebrew:
    $ brew install watchman
    ```
3. Clone the repository:

    ```shell
    $ git clone <EMAIL>:swashcap/LookieHere.git
    $ cd LookieHere
    ```
4. Install dependencies using [npm](https://www.npmjs.com):

    ```shell
    $ npm install
    ```

5. Create an API configuration file at _config/index.json_:

    ```shell
    $ mkdir config
    $ touch config/index.json
    ```

    _index.json_ should have should have two properties—`apiKey` and `apiBase`— cooresponding to your
    API configuration. An example:

    ```json
    {
      "apiKey": "key",
      "apiBase": "https://fully-qualified.domain/path/to/api"
    }
    ```

    See _[config/sample.json](./config/sample.json)_ for an example file.

## Running

Open a terminal and `cd` to the project directory. To start the react-native packager server, run:
{'fraction_non_alphanumeric': 0.14800901577761083, 'fraction_numerical': 0.012396694214876033, 'mean_word_length': 3.430948419301165, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 15, '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': '2689270', 'n_tokens_mistral': 889, 'n_tokens_neox': 847, 'n_words': 220}