public
Description: Sample application to show how to use GoogleMaps (with geokit plugin) in a Rails 2.0 application
Homepage:
Clone URL: git://github.com/xilinus/gmaps_demo.git
sgruhier (author)
Wed May 07 09:57:13 -0700 2008
commit  94e752973342e2b53f88ed3d73e467ed4a468d13
tree    e4e5d129959c0d871bf3eb001f1251fe85cc03d6
parent  07e5d38712e3331a12f7705069d4560109f719c8
name age message
file .gitignore Wed May 07 09:57:13 -0700 2008 use geokit api key [sgruhier]
file .gitmodules Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
file README Tue Apr 29 09:26:09 -0700 2008 better README [sgruhier]
file Rakefile Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
directory app/ Wed May 07 09:57:13 -0700 2008 use geokit api key [sgruhier]
directory config/ Tue Apr 29 08:08:16 -0700 2008 add map action and display users on google map [sgruhier]
directory db/ Tue Apr 29 08:08:16 -0700 2008 add map action and display users on google map [sgruhier]
directory doc/ Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
directory lib/ Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
directory log/ Wed May 07 09:57:13 -0700 2008 use geokit api key [sgruhier]
directory public/ Wed May 07 09:57:13 -0700 2008 use geokit api key [sgruhier]
directory script/ Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
directory test/ Tue Apr 29 08:08:16 -0700 2008 add map action and display users on google map [sgruhier]
directory vendor/ Sun Apr 27 05:57:35 -0700 2008 end of init before adding google maps [sgruhier]
README
Sample Rails 2.0 Application to show how to use GoogleMaps.
This application has been written in live in RailsCamps Paris 2008, that's why there is no unit/functionnal tests
Feel free to add them! 

It uses two plugins
- restful_authentication used to generate quickly users views/controller
- geokit to add geo finder in user model

To install it:
# To get source
git clone git://github.com/xilinus/gmaps_demo.git

# To get submodules (plugins)
git submodule init  
git submodule update

# By default database.yml is set on mysql, edit it if you want to use another database but
# Geokit only support MySQL and PostgreSQL (8.2.6)
#
# To generate create database and fill some data
rake db:create
rake db:migrate
rake db:fixtures:load

# Start webserver
./script/server

# The googlemap key is set to localhost, so open your browser on http://localhost:3000/
# If you want ot chnage it, go to google http://code.google.com/apis/maps/ and update layout files.

# That's it 
# :)