GeoRSS aggregator and Layar augmented reality server
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
Adrian Short 0e89a1e974 Merge branch 'refs/heads/mongomapper_to_postgres' 11 лет назад
app Create new feeds in the context of this layer 11 лет назад
config Tidy up blank lines 11 лет назад
db Add Layer model/scaffold with a join table to habtm feeds 11 лет назад
doc First commit 12 лет назад
lib New task to fetch all feeds 12 лет назад
log First commit 12 лет назад
public Improved add feed usability on the home page 12 лет назад
script First commit 12 лет назад
test Add Layer model/scaffold with a join table to habtm feeds 11 лет назад
vendor First commit 12 лет назад
.gitignore Ignored .rvmrc 12 лет назад
Gemfile Add better_errors and binding_of_caller gems for debugging 11 лет назад
Gemfile.lock Add better_errors and binding_of_caller gems for debugging 11 лет назад
README.md Improved README 12 лет назад
Rakefile First commit 12 лет назад
config.ru First commit 12 лет назад

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"