<commit_before># [Flux-React-Example](https://github.com/localnerve/flux-react-example)

[![Build Status](https://secure.travis-ci.org/localnerve/flux-react-example.png?branch=master)](http://travis-ci.org/localnerve/flux-react-example)
[![Coverage Status](https://coveralls.io/repos/localnerve/flux-react-example/badge.svg?branch=master)](https://coveralls.io/r/localnerve/flux-react-example?branch=master)
[![Dependency Status](https://david-dm.org/localnerve/flux-react-example.svg)](https://david-dm.org/localnerve/flux-react-example)
[![devDependency Status](https://david-dm.org/localnerve/flux-react-example/dev-status.svg)](https://david-dm.org/localnerve/flux-react-example#info=devDependencies)
[![Codacy Badge](https://www.codacy.com/project/badge/60366103040442ad9fbf5f8e33373f18)](https://www.codacy.com/public/alex/flux-react-example)
  
[![Sauce Test Status](https://saucelabs.com/browser-matrix/localnerve.svg)](https://saucelabs.com/u/localnerve)

> A *Work In Progress* example of using Fluxible with dynamic data.

An isomorphic flux-react example application using [fluxible](http://fluxible.io).

## Build Environment Prerequisites
1. Globally installed grunt-cli `npm install -g grunt-cli`
2. Globally installed Compass >= 1.0.1 `gem install compass`

## Setup

```bash
$ npm install
```


## Run the app\*

```bash
$ npm run build
$ npm start
```

Open http://localhost:3000

\*Assumes you *don't* have NODE_ENV set in your environment. If you do have it set, it must be set to "production" to run the production build of the app this way. If you use NODE_ENV in your environment for something else and still want to just run the production app, use [this](#debug-production-build) method.

## Run in dev mode

```bash
$ npm run dev
```

This will use `nodemon` and `webpack` to watch for changes and restart and
rebuild as needed.

Open http://localhost:3000


## Debug production build
```bash
$ npm run prod
```

This will use `nodemon` and `webpack` to watch for changes and restart and
rebuild as needed.

Open http://localhost:3000


## License
<commit_msg>[ci skip] Readme update<commit_after># [Flux-React-Example](https://github.com/localnerve/flux-react-example)

[![Build Status](https://secure.travis-ci.org/localnerve/flux-react-example.png?branch=master)](http://travis-ci.org/localnerve/flux-react-example)
[![Coverage Status](https://coveralls.io/repos/localnerve/flux-react-example/badge.svg?branch=master)](https://coveralls.io/r/localnerve/flux-react-example?branch=master)
[![Dependency Status](https://david-dm.org/localnerve/flux-react-example.svg)](https://david-dm.org/localnerve/flux-react-example)
[![devDependency Status](https://david-dm.org/localnerve/flux-react-example/dev-status.svg)](https://david-dm.org/localnerve/flux-react-example#info=devDependencies)
[![Codacy Badge](https://www.codacy.com/project/badge/60366103040442ad9fbf5f8e33373f18)](https://www.codacy.com/public/alex/flux-react-example)

[![Sauce Test Status](https://saucelabs.com/browser-matrix/localnerve.svg)](https://saucelabs.com/u/localnerve)

> This is an active *Work In Progress* learning playground.

A data-driven, isomorphic example application using [Fluxible](http://fluxible.io) and [React](http://reactjs.com).

## Integrations
This example demonstrates a full CI/CD integration on the master branch. Pushes to the master branch run the following workflow:
1. Run unit tests w/coverage
2. Build and deploy to Heroku staging container
3. Run cross-browser/platform functional tests on SauceLabs
4. Run performance budget tests against webpagetest.org

## Services

### Data Service
The data service that provides the content and data for this example is just a [Github repo](http://github.com/localnerve/flux-react-example-data) with a simple resource model.

### Mail Service
The mail service for this example consists of an MQ service on the application tier to collect the outgoing mail, and defaults to Mandrill for the actual mail service - Could use any mail service.

## Developer Instructions

### Build Environment Prerequisites
1. Globally installed grunt-cli `npm install -g grunt-cli`
2. Globally installed Compass >= 1.0.1 `gem install compass`

### Setup
1. Clone this repo
2. Install the dependencies

```bash
$ npm install
```


### Run the app\*

```bash
$ npm run build
$ npm start
```

Open http://localhost:3000

\*Assumes you *don't* have NODE_ENV set in your environment. If you do have it set, it must be set to "production" to run the production build of the app this way. If you use NODE_ENV in your environment for something else and still want to just run the production app, use [this](#debug-production-build) method.

### Run in dev mode

```bash
$ npm run dev
```

This will use `nodemon` and `webpack` to watch for changes and restart and
rebuild as needed.

Open http://localhost:3000


### Debug production build
```bash
$ npm run prod
```

This will use `nodemon` and `webpack` to watch for changes and restart and
rebuild as needed.

Open http://localhost:3000


## License

{'fraction_non_alphanumeric': 0.13158937772493065, 'fraction_numerical': 0.01743955608402695, 'mean_word_length': 4.882284382284382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 24, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5574234', 'n_tokens_mistral': 1711, 'n_tokens_neox': 1565, 'n_words': 466}