<commit_before>RemoTV
======

* http://remotv.herokuapp.com/
* https://github.com/shokai/remotv


Install Dependencies
--------------------
Ruby 1.8.7+ or 1.9.2+ required.

    % gem install bundler foreman
    % bundle install


Run
---

    % foreman start

=> http://localhost:5000


options

    % rackup config.ru -p 5000
    % WS_PORT=18080 rackup config.ru -p 5000
    % WS=disable rackup config.ru -p 5000


Deploy
------

    % heroku create --stack cedar
    % git push heroku master
    % heroku open
<commit_msg>update README how disable websocket #6<commit_after>RemoTV
======

* http://remotv.herokuapp.com/
* https://github.com/shokai/remotv


Install Dependencies
--------------------
Ruby 1.8.7+ or 1.9.2+ required.

    % gem install bundler foreman
    % bundle install


Run
---

    % foreman start

=> http://localhost:5000


options

    % rackup config.ru -p 5000
    % WS_PORT=18080 rackup config.ru -p 5000
    % WS=disable rackup config.ru -p 5000


Deploy
------

    % heroku create --stack cedar
    % git push heroku master
    % heroku open

disable websocket

    % heroku config:set WS=disable
    % heroku restart
{'fraction_non_alphanumeric': 0.15069686411149827, 'fraction_numerical': 0.04790940766550523, 'mean_word_length': 2.2275280898876404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4565633', 'n_tokens_mistral': 454, 'n_tokens_neox': 381, 'n_words': 104}