Skip to content

dreamingechoes/geosearch_with_mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search With MongoDB

Deploy to Heroku

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.

Ruby on Rails

This application requires:

  • Ruby 2.2.2
  • Rails 4.2.4

Learn more about Installing Rails.

About

This is an example of geosearch with MongoDB on Ruby on Rails. Was created with Rails Composer from the RailsApps project.

The javascript library to show the map with the results is GMapz, developed by Carlos Cabo. There is a Rails Gem developed by dreamingechoes (me) available here.

Original author

Iván González, a.k.a dreamingechoes

Getting Started

To start using this bot, you only have to do the typical Rails things:

  • Install Ruby version 2.2.2 (using RVM or RBenv or whatever).

  • Clone the repo and do the bundle install thing:

user@computer:~$ git clone git@github.com:dreamingechoes/geosearch_with_mongodb.git
user@computer:~$ cd geosearch_with_mongodb
user@computer:/geosearch_with_mongodb$ bundle install
user@computer:/geosearch_with_mongodb$ rake db:seed
user@computer:/geosearch_with_mongodb$ rake db:mongoid:create_indexes
  • When all this finish, you're ready to launch the app!
user@computer:/geosearch_with_mongodb$ rails s

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Search With MongoDB is released under the MIT License.