GeoRSS aggregator and Layar augmented reality server
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
Adrian Short 8f01d8e1d6 Remove mongo config; add postgres config pirms 11 gadiem
app Use nonbreaking spaces for last fetched times to stop text breaking across lines pirms 12 gadiem
config Remove mongo config; add postgres config pirms 11 gadiem
db First commit pirms 12 gadiem
doc First commit pirms 12 gadiem
lib New task to fetch all feeds pirms 12 gadiem
log First commit pirms 12 gadiem
public Improved add feed usability on the home page pirms 12 gadiem
script First commit pirms 12 gadiem
test Basic password reset setup pirms 12 gadiem
vendor First commit pirms 12 gadiem
.gitignore Ignored .rvmrc pirms 12 gadiem
Gemfile Remove MongoMapper gems; add Postgres gems pirms 11 gadiem
Gemfile.lock Remove MongoMapper gems; add Postgres gems pirms 11 gadiem
README.md Improved README pirms 12 gadiem
Rakefile First commit pirms 12 gadiem
config.ru First commit pirms 12 gadiem

README.md

Apollo

A GeoRSS aggregator and augmented reality server for Layar

© 2012 Adrian Short and Charlotte Gilhooly at Headline Data

This software was commissioned by Talk About Local as part of the HypARlocal project.

HypARlocal is funded by NESTA and the Nominet Trust.

What it does

  • Periodically pulls from a list of subscribed GeoRSS feeds into a local database
  • Serves requests from Layar in JSON format for posts (points of interest) within a radius of a specified point.

Requirements

  • Rails 3
  • MongoDB
  • MongoMapper
  • Feedzilla

Installation

Before installing/deploying:

$ export APOLLO_HOSTNAME=example.org

On Heroku:

$ heroku config:add APOLLO_HOSTNAME=example.org

Replace example.org with your own hostname. When running locally this will probably be localhost:3000.

Set up a cron job or other scheduler to run

$ rake get_all_feeds

once per hour or to taste.

Now create yourself a user account from the console:

$ rails c
> User.create :email => "me@example.org", :password => "verysecret", :password_confirmation => "verysecret"