Ruby JavaScript CoffeeScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
restart.sh

README.md

Kietter

Author: Yoichi Hirai 2011 for license, see LICENSE

what it does

Kietter tells you whether two twitter users are disappearing at the same time.

installation

Prerequisites:

There are some missing files in the repository. On each file, you need to fill in XXX.

./config/initializers/secret_token.rb according to your taste. # Be sure to restart your server when you modify this file.

# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Kietter::Application.config.secret_token = 'XXX'

./config/database.yml according to your database setting.

config/initializers/omniauth.rb according to dev.twitter.com (register your own application)

Rails.application.config.middleware.use OmniAuth::Builder do
  case Rails.env
  when 'production'
    provider :twitter, 'XXX', 'XXX'
  when 'development'
    provider :twitter, 'XXX', 'XXX'
  end
  OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
end
Twitter.configure do |config|
  case Rails.env
  when 'production'
    config.consumer_key = 'XXX'
    config.consumer_secret = 'XXX'
  when 'development'
    config.consumer_key = 'XXX'
    config.consumer_secret = 'XXX'
  end
end

config/initializers/exception_notification.rb according to your needs

Kietter::Application.config.middleware.use ExceptionNotifier,
  :email_prefix => "[ERROR] ",
  :sender_address => 'XXX',
  :exception_recipients => ['XXX']

The rest should be similar to other rails 3 application.

  1. bundle install
  2. rails server (or anything)