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 657e4c2c67 Require login for layers controller pirms 11 gadiem
app Require login for layers controller pirms 11 gadiem
config Don't precompile pipeline assets (fix for Heroku Cedar) pirms 11 gadiem
db Add Layer model/scaffold with a join table to habtm feeds pirms 11 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 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 Migrate to Heroku Cedar stack pirms 11 gadiem
Gemfile.lock Migrate to Heroku Cedar stack pirms 11 gadiem
Procfile Fix omitted vars 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"