<commit_before># Riak Mesos Framework

## Development

For initial setup of development environment, please follow the directions in
[DEVELOPMENT.md](https://github.com/basho-labs/riak-mesos/tree/master/docs/DEVELOPMENT.md).

Build the Framework

```
cd $GOPATH/src/github.com/basho-labs/riak-mesos
godep restore
cd bin
go generate ../... && gox -osarch="linux/amd64" -osarch=darwin/amd64 ../...
```

## Running the Framework

Mac OS X

```
./scheduler_darwin_amd64 -master=zk://172.16.31.10:2181/mesos -zk=172.16.31.10:2181 -hostname=172.16.58.3 -ip=172.16.58.3
```

Vagrant / Linux

```
cd /riak-mesos/src/github.com/basho-labs/riak-mesos/bin
./scheduler_linux_amd64 -master=zk://172.16.31.10:2181/mesos -zk=172.16.31.10:2181 -hostname=172.16.31.10 -ip=localhost
```<commit_msg>formatting<commit_after># Riak Mesos Framework

## Development

For initial setup of development environment, please follow the directions in
[DEVELOPMENT.md](https://github.com/basho-labs/riak-mesos/tree/master/docs/DEVELOPMENT.md).

### Build the Framework

```
cd $GOPATH/src/github.com/basho-labs/riak-mesos
godep restore
cd bin
go generate ../... && gox -osarch="linux/amd64" -osarch=darwin/amd64 ../...
```

### Running the Framework

Mac OS X

```
./scheduler_darwin_amd64 -master=zk://172.16.31.10:2181/mesos -zk=172.16.31.10:2181 -hostname=172.16.58.3 -ip=172.16.58.3
```

Vagrant / Linux

```
cd /riak-mesos/src/github.com/basho-labs/riak-mesos/bin
./scheduler_linux_amd64 -master=zk://172.16.31.10:2181/mesos -zk=172.16.31.10:2181 -hostname=172.16.31.10 -ip=localhost
```
{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.1088348271446863, 'mean_word_length': 3.9150943396226414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 14, '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': '2664044', 'n_tokens_mistral': 753, 'n_tokens_neox': 630, 'n_words': 102}