<commit_before># G5 Client Hub Deployer

Deploys Sibling App (g5-client-hub) automagically from Instruction Feed.

## Setup

1. Install all the required gems
```bash
bundle
```

1. Set up your database
[rails-default-database](https://github.com/tpope/rails-default-database)
automatically uses sensible defaults for the primary ActiveRecord database.
```bash
rake db:setup
```

1. Copy config/application.example.yml to config/application.yml and set the app display name
```bash
cp config/application.example.yml config/application.yml
```

1. Install [redis](http://redis.io/) and start it
```bash
brew install redis
redis-server > ~/redis.log &
```

1. Create a new private key and add it to Github and Heroku
    * [https://help.github.com/articles/generating-ssh-keys](https://help.github.com/articles/generating-ssh-keys)
    * [https://devcenter.heroku.com/articles/keys](https://devcenter.heroku.com/articles/keys)


1. Export environment variables
```bash
export HEROKU_USERNAME=your_username
export HEROKU_API_KEY=your_api_key
export HEROKU_APP_NAME=your_heroku_app_name
export HEROKU_REPO=git@heroku.com:your-heroku-app-name.git
export GITHUB_REPO=git@github.com:your/your-github-repo-name.git
export ID_RSA=your_private_key
```

1. Use foreman to start the web and worker proccesses
```bash
foreman start
```
Or if you are using pow or something start the job queue
```bash
rake jobs:work
```


## Authors

  * <NAME> / [@jlsuttles](https://github.com/jlsuttles)
  * <NAME> / [@bookis](https://github.com/bookis)


## Contributing

1. Fork it
1. Get it running
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Write your code and **specs**
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)<commit_msg>updates readme to reflect changes to display name config<commit_after># G5 Client Hub Deployer

Deploys Sibling App (g5-client-hub) automagically from Instruction Feed.

## Setup

1. Install all the required gems
```bash
bundle
```

1. Set up your database
[rails-default-database](https://github.com/tpope/rails-default-database)
automatically uses sensible defaults for the primary ActiveRecord database.
```bash
rake db:setup
```

1. Install [redis](http://redis.io/) and start it
```bash
brew install redis
redis-server > ~/redis.log &
```

1. Create a new private key and add it to Github and Heroku
    * [https://help.github.com/articles/generating-ssh-keys](https://help.github.com/articles/generating-ssh-keys)
    * [https://devcenter.heroku.com/articles/keys](https://devcenter.heroku.com/articles/keys)


1. Export environment variables
```bash
export HEROKU_USERNAME=your_username
export HEROKU_API_KEY=your_api_key
export HEROKU_APP_NAME=your_heroku_app_name
export HEROKU_REPO=git<EMAIL>.com:your-heroku-app-name.git
export GITHUB_REPO=<EMAIL>:your/your-github-repo-name.git
export ID_RSA=your_private_key
export APP_DISPLAY_NAME=your_preferred_display_name
```

1. Use foreman to start the web and worker proccesses
```bash
foreman start
```
Or if you are using pow or something start the job queue
```bash
rake jobs:work
```


## Authors

  * <NAME> / [@jlsuttles](https://github.com/jlsuttles)
  * <NAME> / [@bookis](https://github.com/bookis)


## Contributing

1. Fork it
1. Get it running
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Write your code and **specs**
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
{'fraction_non_alphanumeric': 0.12450368689733408, 'fraction_numerical': 0.008224617129892229, 'mean_word_length': 4.72564935064935, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '277948', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1152, 'n_words': 342}