GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Apollo
  2. ======
  3. A [GeoRSS](http://en.wikipedia.org/wiki/GeoRSS) aggregator and augmented reality server for [Layar](http://layar.com/)
  4. © 2012 Adrian Short and Charlotte Gilhooly at [Headline Data](http://headlinedata.com/)
  5. This software was commissioned by [Talk About Local](http://talkaboutlocal.org.uk/) as part of the [HypARlocal](http://talkaboutlocal.org.uk/ar/) project.
  6. HypARlocal is funded by [NESTA](http://www.nesta.org.uk/destination_local) and the [Nominet Trust](http://www.nominettrust.org.uk/).
  7. What it does
  8. ------------
  9. * Periodically pulls from a list of subscribed GeoRSS feeds into a local database
  10. * Serves requests from Layar in JSON format for posts (points of interest) within a radius of a specified point.
  11. Requirements
  12. ------------
  13. * Rails 3
  14. * MongoDB
  15. * MongoMapper
  16. * Feedzilla
  17. Installation
  18. ------------
  19. Before installing/deploying:
  20. $ export APOLLO_HOSTNAME=example.org
  21. On Heroku:
  22. $ heroku config:add APOLLO_HOSTNAME=example.org
  23. Replace `example.org` with your own hostname. When running locally this will probably be `localhost:3000`.
  24. Set up a cron job or other scheduler to run
  25. $ rake get_all_feeds
  26. once per hour or to taste.
  27. Now create yourself a user account from the console:
  28. $ rails c
  29. > User.create :email => "me@example.org", :password => "verysecret", :password_confirmation => "verysecret"