<commit_before>AsakusaSatellite
===================
uethutohueonu
AsakusaSatellite is a realtime chat application for Developers.

Authors
----------------
 * @suer
 * @mallowlabs
 * @mzp
 * @shimomura1004
 * @banjun

Requirement
----------------
 * Ruby 1.8.7
 * RubyGems 1.4.2 or later
 * Bundler 1.0.7 or later
 * MongoDB 1.8.1 or later

Install
----------------
AsakusaSatellite needs mongod and socky.

    $ mongod --dbpath <dir_name>
    $ bundle exec thin -R socky/config.ru -p3002 start

Settings

    $ cp config/filter.yml.example config/filter.yml
    $ cp config/websocket.yml.example config/websocket.yml
    $ cp config/settings.yml.example config/settings.yml
    $ cp config/mongoid.yml.example config/mongoid.yml
    $ cp config/message_pusher.yml.example config/message_pusher.yml
    $ bundle install --path vendor/bundle

### Install for Developer

    $ cp bleis-hooks/* .git/hooks

### Access

    $ bundle exec rails server

access to http://localhost:3000/

### Test
#### indivisual testing

    $ bundle exec ruby spec/{controller,model}/$(name)_spec.rb

#### test all

    $ bundle exec rake spec

#### run with rcov

    $ bundle exec rake spec:rcov

#### auto testing

    $ bundle exec guard start

### Generate Filter Plugin<commit_msg>READMEのインストール手順を更新 refs #849<commit_after>AsakusaSatellite
===================
uethutohueonu
AsakusaSatellite is a realtime chat application for Developers.

Authors
----------------
 * @suer
 * @mallowlabs
 * @mzp
 * @shimomura1004
 * @banjun

Requirement
----------------
 * Ruby 1.8.7
 * RubyGems 1.4.2 or later
 * Bundler 1.0.7 or later
 * MongoDB 1.8.1 or later

Install
----------------

Install dependencies:

    $ bundle install --path vendor/bundle

Excecute mongodb and socky:

    $ mongod --dbpath <dir_name>
    $ bundle exec thin -R socky/config.ru -p3002 start

Run AsakusaSatellite:

    $ bundle exec rails server

and access to http://localhost:3000/

### Install for Developer

    $ cp bleis-hooks/* .git/hooks


### Test
#### indivisual testing

    $ bundle exec ruby spec/{controller,model}/$(name)_spec.rb

#### test all

    $ bundle exec rake spec

#### run with rcov

    $ bundle exec rake spec:rcov

#### auto testing

    $ bundle exec guard start

### Generate Filter Plugin
{'fraction_non_alphanumeric': 0.15574131104267488, 'fraction_numerical': 0.02243730752309723, 'mean_word_length': 2.777408637873754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4961131', 'n_tokens_mistral': 807, 'n_tokens_neox': 727, 'n_words': 208}