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.
This application requires:
- Ruby 2.2.2
- Rails 4.2.4
Learn more about Installing Rails.
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.
Iván González, a.k.a dreamingechoes
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 [email protected]: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
- Open your web browser and go to http://localhost:3000 like in all the regular Rails apps.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Search With MongoDB is released under the MIT License.