<commit_before><commit_msg>add readme<commit_after># Dependencies

Resto-Net depends on [MongoDB](http://www.mongodb.org/) and [ElasticSearch](http://www.elasticsearch.org/).

# Getting Started

    git clone git://github.com/opennorth/resto-net-national.git
    cd resto-net-national
    bundle
    bundle exec rake db:setup
    bundle exec rake data:montreal:import
    bundle exec rake data:toronto:update
    bundle exec rake data:vancouver:import

# Updating Data

    bundle exec rake cron

# Deployment

[Create a Heroku account](http://heroku.com/signup) and setup SSH keys as described on [Getting Started with Heroku](http://devcenter.heroku.com/articles/quickstart).

    gem install heroku
    heroku create --stack cedar APP_NAME
    git push heroku master
    heroku db:push
    heroku addons:add custom_domains:basic
    heroku addons:add logging:expanded
    heroku addons:add pgbackups:auto-month
    heroku addons:add releases:basic
    heroku addons:add cron:daily
    heroku addons:add logging:expanded

{'fraction_non_alphanumeric': 0.08504398826979472, 'fraction_numerical': 0.0, 'mean_word_length': 3.9468599033816427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6212266', 'n_tokens_mistral': 333, 'n_tokens_neox': 317, 'n_words': 87}