GeoRSS aggregator and Layar augmented reality server
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

README.md 1.3 KiB

12 anos atrás
11 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
11 anos atrás
12 anos atrás
12 anos atrás
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"