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 9fb2cecf67 Add worker process for Heroku delayed job pirms 11 gadiem
app Fetch all feeds through delayed job pirms 11 gadiem
config Remove feed destroy route #15 pirms 11 gadiem
db Install delayed job pirms 11 gadiem
doc First commit pirms 12 gadiem
lib Rename method that fetches all feeds pirms 11 gadiem
log First commit pirms 12 gadiem
public Improved add feed usability on the home page pirms 12 gadiem
script Install delayed job pirms 11 gadiem
test Add Layer model/scaffold with a join table to habtm feeds pirms 11 gadiem
vendor First commit pirms 12 gadiem
.gitignore Ignored .rvmrc pirms 12 gadiem
Gemfile Add daemons gem pirms 11 gadiem
Gemfile.lock Add daemons gem pirms 11 gadiem
Procfile Add worker process for Heroku delayed job 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"