<commit_before># campfire
Sample app from https://www.youtube.com/watch?v=n0WUjGkDFS0

## How to run

Install Redis beforehand.

```
brew install redis
```

Clone this repository, and:

```
bundle install
bundle exec rails db:migrate RAILS_ENV=development
redis-server
rails server
open http://localhost:3000
```

You should be able to chat like this:

![c7ERfXIREG.gif](https://qiita-image-store.s3.amazonaws.com/0/7465/b58e0bc4-eb80-3176-9baf-3009323c4485.gif "c7ERfXIREG.gif")

## License

MIT License.
<commit_msg>Add procedure to deploy to Heroku<commit_after># campfire
Sample app from https://www.youtube.com/watch?v=n0WUjGkDFS0

## How to run

Install Redis beforehand.

```
brew install redis
```

Clone this repository, and:

```
bundle install
bundle exec rails db:migrate RAILS_ENV=development
redis-server
rails server
open http://localhost:3000
```

You should be able to chat like this:

![c7ERfXIREG.gif](https://qiita-image-store.s3.amazonaws.com/0/7465/b58e0bc4-eb80-3176-9baf-3009323c4485.gif "c7ERfXIREG.gif")

### Deploy to Heroku

```
heroku create
heroku addons:create heroku-redis
git push heroku master
heroku run rails db:migrate
heroku open
```

## License

MIT License.

{'fraction_non_alphanumeric': 0.11853088480801335, 'fraction_numerical': 0.06010016694490818, 'mean_word_length': 4.935643564356436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4679648', 'n_tokens_mistral': 500, 'n_tokens_neox': 451, 'n_words': 111}