A small proof of concept Google Latitude clone. It displays location updates from Big Brother GPS on a big map.
You need:
- ruby >= 1.9.3
- a running postgresql server (like Postgres.app)
- an android smartphone with the Big Brother GPS app installed
- and - if you want realtime updates - an pusher account
Create the laticlone_dev
database:
createdb laticlone_dev
and add the locations
table:
CREATE TABLE locations (
id SERIAL,
lat double precision,
lon double precision,
acc double precision,
created_at timestamp without time zone
);
DATABASE_URL="postgres:https://localhost/laticlone_dev" \
PUSHER_URL="https://[email protected]/apps/xxxxxx" \
ruby laticlone.rb
You can ignore the PUSHER_URL
environment variable if you don't have an pusher account / don't want realtime updates.
Do not hesitate to use the issues in the main repository for feedback, ideas or when something doesn't work.
Contributing:
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request