Octomaps plots the locations of contributors to any open-source project on a map.
Check out Octomaps in action here: http://www.octomaps.com
All information regarding contributors to a Github repository and those contributors' locations are retrieved using the Github API. Github's API is very robust and its documentation is quite thorough. The relevant parts that Octomaps utilizes are: (1) retrieving a list of contributors to a project & (2) getting a user's location.
Datamapper is used to interact with the data that is stored in a Postgres database.
For a much more granular perspective on how Octomaps' code works, check out A Step by Step Overview of How Octomaps Works
##Running Octomaps on Your Local Machine
- Fork the repository.
- Make sure you have a working PostgreSQL. Run
rake db:create db:migrate. If needed, adjust your database configuration in
rackupand start playing with Octomaps at localhost:9292!
##Contributing to Octomaps
If you'd like to contribute to octomaps, fork our repository and submit a pull request. Also, be sure to check out our issues page for a list of things we are working on.
psql -c 'create database octomaps_test;' PADRINO_ENV=test bundle exec rake db:migrate bundle exec rake