/bentheshark

18 ft great white shark bot, hanging around the Pacific Ocean, looking for some friends and maybe a nice breakfast too

Primary LanguageRuby

Ben The Shark

Description

Ben is a nice great white shark, that instead of showing up by surprise, is friendly enough to publish updates on Twitter about his and his friends last location. Please, follow Ben.

Configuration

  • Install PostgreSQL however you want. A good option if you're kind of clumsy with this things, and you work on OSX is Postgres.app by @mattt.
  • Type this in your psql terminal:
CREATE USER ben_the_shark WITH createdb password 'sharky';
  • Then type this in your terminal
bundle install
rake db:create
rake db:migrate
  • Set the following environment variables accordingly:

    • TWITTER_CONSUMER_KEY
    • TWITTER_CONSUMER_SECRET
    • TWITTER_ACCESS_TOKEN
    • TWITTER_ACCESS_SECRET
  • You're good to go!

Run the tests

rake spec