<commit_before># Auto Tweets engine for Refinery CMS.

## Installing

Add refinery-auto_tweets to your Gemfile

    gem 'refinery-auto_tweets', :git => 'git://github.com/iwalabs/refinery-auto_tweets.git'

Run generator

    bundle exec rails g refinerycms_auto_tweets

*Please check your `config/application.rb` for observer configuration*

Set default host URL

    Rails.application.routes.default_url_options[:host]= 'www.iwa.fi'


Run migration

    bundle exec rake db:migrate

Go to Refinery admin and set appropriate Twitter API key.

### Set up Cron Job for blog published in the future.

Set your cron job to run the following task.

    bundle exec rake refinery:auto_tweets:cron

## Standalone Gem set up<commit_msg>Fix typo in gem name<commit_after># Auto Tweets engine for Refinery CMS.

## Installing

Add refinerycms-auto_tweets to your Gemfile

    gem 'refinerycms-auto_tweets', :git => 'git://github.com/iwalabs/refinerycms-auto_tweets.git'

Run generator

    bundle exec rails g refinerycms_auto_tweets

*Please check your `config/application.rb` for observer configuration*

Set default host URL

    Rails.application.routes.default_url_options[:host]= 'www.iwa.fi'


Run migration

    bundle exec rake db:migrate

Go to Refinery admin and set appropriate Twitter API key.

### Set up Cron Job for blog published in the future.

Set your cron job to run the following task.

    bundle exec rake refinery:auto_tweets:cron

## Standalone Gem set up
{'fraction_non_alphanumeric': 0.07210884353741497, 'fraction_numerical': 0.0, 'mean_word_length': 4.1978798586572434, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1134037', 'n_tokens_mistral': 480, 'n_tokens_neox': 458, 'n_words': 163}