https://github.com/dreamingechoes/geosearch_with_mongodb
An example of geosearch with MongoDB on Ruby on Rails.
https://github.com/dreamingechoes/geosearch_with_mongodb
geosearch mongodb rails ruby
Last synced: 4 months ago
JSON representation
An example of geosearch with MongoDB on Ruby on Rails.
- Host: GitHub
- URL: https://github.com/dreamingechoes/geosearch_with_mongodb
- Owner: dreamingechoes
- Created: 2015-10-31T00:26:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T22:16:15.000Z (almost 10 years ago)
- Last Synced: 2025-04-24T05:09:24.862Z (6 months ago)
- Topics: geosearch, mongodb, rails, ruby
- Language: JavaScript
- Homepage: https://geosearch-with-mongodb.herokuapp.com/
- Size: 516 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Search With MongoDB
================[](https://heroku.com/deploy)
This application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem
provided by the [RailsApps Project](http://railsapps.github.io/).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.4Learn more about [Installing Rails](http://railsapps.github.io/installing-rails.html).
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](https://github.com/carloscabo/gmapz),
developed by [Carlos Cabo](https://github.com/carloscabo). There is a Rails Gem developed by [dreamingechoes](https://github.com/dreamingechoes) (me) [available here](https://rubygems.org/gems/gmapz_rails).Original author
---------------Iván González, *a.k.a* [dreamingechoes](https://github.com/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](https://github.com/rvm/rvm) or [RBenv](https://github.com/sstephenson/rbenv) or whatever).
* Clone the repo and do the ***bundle install*** thing:
```sh
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!
```sh
user@computer:/geosearch_with_mongodb$ rails s
```* Open your web browser and go to [http://localhost:3000](http://localhost:3000) like in all the regular ***Rails*** apps.
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 RequestLicense
-------**Search With MongoDB** is released under the [MIT License](http://www.opensource.org/licenses/MIT).