Capture and chart trending information for Hacker News
http://apps.defsym.me/hntrendz
Clone this repository into a folder of your choice
$ git clone https://github.com/rationalrevolt/hntrendz.git
To install dependencies:
$ bundle install
Setup the development database:
$ sequel -m db/migrations/ sqlite://db/hntrendz.db
To launch the Sinatra app:
$ ruby hntrendz.rb
To start the background process that fetches stories from Hacker News:
$ bundle exec clockwork lib/hntrendz/jobs/clock.rb
- Fork it ( http://github.com/rationalrevolt/hntrendz/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request