<commit_before>== Welcome to Neo Tweet

Neo Tweet is a sample application to build a twitter client using Neo4j.  It uses Sinatra and the Neography Gem.

=== Pre-Requisites 

You will need to get a Twitter Consumer Key and Secret on https://dev.twitter.com/apps


=== Installation

  git clone <EMAIL>:maxdemarzi/neo_tweet.git
  bundle install
  export SESSION_SECRET="A secret phrase"
  export CONSUMER_KEY="Your Twitter Consumer Key"
  export CONSUMER_SECRET="Your Twitter Consumer Secret"
  bundle exec rackup

==== On Heroku

  git clone <EMAIL>:maxdemarzi/neo_tweet.git
  heroku apps:create --stack cedar
  heroku config:add SESSION_SECRET="A secret phrase"
  heroku config:add CONSUMER_KEY="Your Twitter Consumer Key"
  heroku config:add CONSUMER_SECRET="Your Twitter Consumer Secret"
  heroku addons:add neo4j
  git push heroku master

See it running live at http://neotweet.herokuapp.com<commit_msg>altering install instructions to include redis<commit_after>== Welcome to Neo Tweet

Neo Tweet is a sample application to build a twitter client using Neo4j.  It uses Sinatra and the Neography Gem.

=== Pre-Requisites 

You will need to get a Twitter Consumer Key and Secret on https://dev.twitter.com/apps
You will need Redis in order to use Resque for background jobs.

=== Installation

  git clone <EMAIL>:maxdemarzi/neo_tweet.git
  bundle install
  sudo apt-get install redis-server or brew install redis
  export SESSION_SECRET="A secret phrase"
  export CONSUMER_KEY="Your Twitter Consumer Key"
  export CONSUMER_SECRET="Your Twitter Consumer Secret"
  export REDISTOGO_URL="redis://127.0.0.1:6379/"
  foreman start

==== On Heroku

  git clone <EMAIL>:maxdemarzi/neo_tweet.git
  heroku apps:create --stack cedar
  heroku config:add SESSION_SECRET="A secret phrase"
  heroku config:add CONSUMER_KEY="Your Twitter Consumer Key"
  heroku config:add CONSUMER_SECRET="Your Twitter Consumer Secret"
  heroku addons:add neo4j
  heroku addons:add redistogo
  git push heroku master

See it running live at http://neotweet.herokuapp.com
{'fraction_non_alphanumeric': 0.07002938295788443, 'fraction_numerical': 0.0068560235063663075, 'mean_word_length': 4.675, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4955041', 'n_tokens_mistral': 679, 'n_tokens_neox': 636, 'n_words': 230}