GeoRSS aggregator and Layar augmented reality server
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

README.md 1.3 KiB

11 anni fa
11 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Apollo
  2. ======
  3. A [GeoRSS](http://en.wikipedia.org/wiki/GeoRSS) aggregator and augmented reality server for [Layar](http://layar.com/)
  4. © 2012-3 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. * Postgresql
  15. * Feedzilla
  16. Installation
  17. ------------
  18. Before installing/deploying:
  19. $ export APOLLO_HOSTNAME=example.org
  20. On Heroku:
  21. $ heroku config:add APOLLO_HOSTNAME=example.org
  22. Replace `example.org` with your own hostname. When running locally this will probably be `localhost:3000`.
  23. Set up a cron job or other scheduler to run
  24. $ rake get_all_feeds
  25. once per hour or to taste.
  26. Now create yourself a user account from the console:
  27. $ rails c
  28. > User.create :email => "me@example.org", :password => "verysecret", :password_confirmation => "verysecret"