Mirror of the Rails application powering http://www.openstreetmap.org (hosted at git://git.openstreetmap.org/rails.git)
Ruby HTML JavaScript CSS Perl C++ Other
Latest commit b9b255f Dec 2, 2016 @tomhughes tomhughes Work around upcoming minitest insanity
Minitest 6 will not allow assert_equal to compare for equality
with nil and minitest 5 has already started warning about it.

That's fine if you're comparing with a nil constant, but if you're
comparing with an expression that is sometimes nil and sometimes
not nil it's an absolute pain in the rear end.
Failed to load latest commit information.
app Fix rubocop warnings Dec 2, 2016
config Simplify monkey patch Dec 2, 2016
db Fix rubocop warnings Dec 2, 2016
lib Increase password stretching to 10000 interations Nov 25, 2016
public Add Host: to robots.txt Dec 26, 2015
script Make sure email replies to diary comments come from the right user Nov 29, 2016
test Work around upcoming minitest insanity Dec 2, 2016
vendor Update to leaflet 1.0.2 Nov 21, 2016
.coveralls.yml Add Coveralls support Feb 26, 2015
.gitignore Ignore coverage data Apr 28, 2015
.mailmap Update mailmap Oct 27, 2016
.rubocop.yml Fix rubocop warnings Oct 20, 2016
.rubocop_todo.yml Merge remote-tracking branch 'openstreetmap/pull/1352' Oct 30, 2016
.travis.yml Reset database before running tests Oct 26, 2016
CONFIGURE.md Link to Phusion Passenger docs for production Nov 7, 2014
CONTRIBUTING.md Improve installation documentation and add contributor instructions Sep 9, 2013
Gemfile Use image_optim_rails instead of image_optim Nov 10, 2016
Gemfile.lock Update bundle Dec 2, 2016
INSTALL.md INSTALL.md: Added inline code markdown. Aug 13, 2016
LICENSE Add GPLv2 license file and mention in README Feb 23, 2012
README.md Remove references to EWG meetings Aug 17, 2016
Rakefile Standardise on double quoted strings Feb 20, 2015
VAGRANT.md Fix broken link to Vagrant downloads page Apr 24, 2016
Vagrantfile Vagrant: Virtualbox: increase RAM and put 2 CPUs Dec 30, 2015
Vendorfile Update to leaflet 1.0.2 Nov 21, 2016
config.ru Fix warnings from rubocop update Jun 8, 2015


"The Rails Port"

Build Status Coverage Status

This is The Rails Port, the Ruby on Rails application that powers the OpenStreetMap website and API. The software is also known as "openstreetmap-website".

This repository consists of:

  • The web site, including user accounts, diary entries, user-to-user messaging
  • The XML-based editing API
  • The integrated versions of the Potlatch, Potlatch 2 and iD editors
  • The Browse pages - a web front-end to the OpenStreetMap data
  • The GPX uploads, browsing and API.

A fully-functional Rails Port installation depends on other services, including map tile servers and geocoding services, that are provided by other software. The default installation uses publicly-available services to help with development and testing.


This software is licensed under the GNU General Public License 2.0, a copy of which can be found in the LICENSE file.


The Rails Port is a Ruby on Rails application that uses PostgreSQL as its database, and has a large number of dependencies for installation. For full details please see INSTALL.md


We're always keen to have more developers! Pull requests are very welcome.

More details on contributing to the code are in the CONTRIBUTING.md file.