<commit_before>=====
## Docker対応

docker対応してみました。設定ファイルを下記参考に記載後(.env等）、ビルドしてみてください。
メールの設定は、docker-compose.ymlに寄せました。

## 設定ファイル
- .env
- config/database.yml
- docker-compose.yml

config/database.ymlに下記貼り付けてください。
urlはdocker-compose.ymlから読み込んでます。

```yml:config/database.yml
default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  timeout: 5000
  port: 3306

development: &development
  <<: *default
  database: lodge_development
  url: <%= ENV['DATABASE_URL'] %>

test:
  <<: *default
  database: lodge_test

production: &production
  <<: *default
  database: lodge_production
  url: <%= ENV['DATABASE_URL'] %>
```


ビルド方法
```
docker-compose build
docker-compose up
docker-compose run rails rake db:create
docker-compose run rails rake db:migrate
```

=====
[![Gitter chat](https://badges.gitter.im/lodge/lodge.png)](https://gitter.im/lodge/lodge)
[![Build Status](https://travis-ci.org/lodge/lodge.svg?branch=release)](https://travis-ci.org/lodge/lodge)
[![Coverage Status](https://coveralls.io/repos/lodge/lodge/badge.png?branch=release)](https://coveralls.io/r/lodge/lodge?branch=release)
[![Code Climate](https://codeclimate.com/github/lodge/lodge/badges/gpa.svg)](https://codeclimate.com/github/lodge/lodge)

=====<commit_msg>README修正<commit_after>=====
## Docker対応

docker対応してみました。設定ファイルを下記参考に記載後(.env等）、ビルドしてみてください。
メールの設定は、docker-compose.ymlに寄せました。

## 設定ファイル
- .env
- config/database.yml
- docker-compose.yml

config/database.ymlに下記貼り付けてください。
urlはdocker-compose.ymlから読み込んでます。

```yml:config/database.yml
default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  timeout: 5000
  port: 3306

development: &development
  <<: *default
  database: lodge_development
  url: <%= ENV['DATABASE_URL'] %>

test:
  <<: *default
  database: lodge_test

production: &production
  <<: *default
  database: lodge_production
  url: <%= ENV['DATABASE_URL'] %>
```


ビルド方法

```
docker-compose build
docker-compose up
docker-compose run rails rake db:create
docker-compose run rails rake db:migrate
```

=====
[![Gitter chat](https://badges.gitter.im/lodge/lodge.png)](https://gitter.im/lodge/lodge)
[![Build Status](https://travis-ci.org/lodge/lodge.svg?branch=release)](https://travis-ci.org/lodge/lodge)
[![Coverage Status](https://coveralls.io/repos/lodge/lodge/badge.png?branch=release)](https://coveralls.io/r/lodge/lodge?branch=release)
[![Code Climate](https://codeclimate.com/github/lodge/lodge/badges/gpa.svg)](https://codeclimate.com/github/lodge/lodge)

=====
{'fraction_non_alphanumeric': 0.17594834543987087, 'fraction_numerical': 0.00887812752219532, 'mean_word_length': 5.422279792746114, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, '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': '153436', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1029, 'n_words': 128}