<commit_before>![Focallocal logo](http://news.focallocal.org/wp-content/uploads/2015/02/focallocal-very-low-res1-min.png)

This is the base branch for the new react-based fl-maps.

I'm aware of all the missiing features/styles etc, just wanted to share the work i've done so far.

Let me know what you think!

# Contribution Guide

This application is based on [Meteor](https://www.meteor.com/) and [React](https://reactjs.org/). (*try a [**todo-list tutorial**](https://www.meteor.com/tutorials/react/creating-an-app) if you've never used one of them*)

## Setting Up The Development Environment

From the command line

1. install meteor

  https://www.meteor.com/install

2. create a fork of this repository and then

    `git clone -b react-maps https://github.com/your-github-username/fl-maps`

3. Set up git

      - `git remote set-url upstream https://github.com/focallocal/fl-maps`
      ```
        // make sure there are 2 remotes (origin that points to your fork and upstream for the original repo)
        git remote -v
      ```

    - **everytime you start working on a new feature, run: `git pull upstream react-maps` which ensures you are always working with the most updated version of the project.**

    - create a new branch `git checkout -b new-feature-name`

4. obtain the *settings.json* file from slack and place it in the project's folder

5. run the project

    ```javascript
    meteor npm install
    npm run start // see notes below if it fails to run
    ```

6. make changes

7. run `npm run test-ui` after you've finished

8. if all the tests have passed, run<commit_msg>fixed wrong command<commit_after>![Focallocal logo](http://news.focallocal.org/wp-content/uploads/2015/02/focallocal-very-low-res1-min.png)

This is the base branch for the new react-based fl-maps.

# Contribution Guide

The project is based on [Meteor](https://www.meteor.com/) and [React](https://reactjs.org/). (*try a [**todo-list tutorial**](https://www.meteor.com/tutorials/react/creating-an-app) if you've never used one of them*)

## Setting Up The Development Environment

1. install meteor

  https://www.meteor.com/install

2. create a fork of this repository and then

    `git clone -b react-maps https://github.com/your-github-username/fl-maps`

3. Set up git

      - `git remote add upstream https://github.com/focallocal/fl-maps`
      ```
        // make sure there are 2 remotes (origin that points to your fork and upstream for the original repo)
        git remote -v
      ```

    - **everytime you start working on a new feature, run: `git pull upstream react-maps` which ensures you are always working with the most updated version of the project.**

    - create a new branch `git checkout -b new-feature-name`

4. obtain the *settings.json* file from slack and place it in the project's folder

5. run the project

    ```javascript
    meteor npm install
    npm run start // see notes below if it fails to run
    ```

6. make changes

7. run `npm run test-ui` after you've finished

8. if all the tests have passed, run
{'fraction_non_alphanumeric': 0.10448738945299706, 'fraction_numerical': 0.010481493612839829, 'mean_word_length': 3.1893004115226335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6898824', 'n_tokens_mistral': 966, 'n_tokens_neox': 901, 'n_words': 375}