This project is a way to find and show news in a different way.
First, you need install the following gems:
- rails (2.3.8);
- delayed_job;
- feedzirra;
- nokogiri
- will_paginate.
Second, the basic:
rake db:migrate
And finally:
ruby script/server
Notícias do Piauí works basically on find news from feeds, and updates the content using nokogiri accessing the urls from the feed.
To fetch news, you need run script/runner "Domain.all.each{|d| d.process}" and script/delayed_job start.
Finally, you can start the websocket run ruby lib/websocket.rb start
-
Check the GitHub issue tracker to see if anyone else has had the same issue. https://github.com/caironoleto/noticias-do-piaui/issues/;
-
If you don’t see anything, create an issue with information on how to reproduce it.
-
Fork the project on github. https://github.com/caironoleto/noticias-do-piaui/;
-
Make your changes with tests;
-
Commit the changes without making changes to the Rakefile, VERSION, or any other files that aren’t related to your enhancement or fix;
-
Send a pull request.