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 76cf9e4b9b Use default email sender address from environment var pirms 11 gadiem
app Use default email sender address from environment var pirms 11 gadiem
config Set email config pirms 11 gadiem
db Add password resets migration for Sorcery 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 workless gem and config pirms 11 gadiem
Gemfile.lock Add workless gem and config 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"