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
Failed to load latest commit information.
app Merge remote-tracking branch 'openstreetmap/pull/1467' Feb 26, 2017
config Merge remote-tracking branch 'openstreetmap/pull/1467' Feb 26, 2017
db Index oauth_tokens and client_applications by user_id Feb 22, 2017
lib Update rubocop Feb 5, 2017
public Add Host: to robots.txt Dec 26, 2015
script Update rubocop Feb 5, 2017
test Update to rails 4.2.8 Feb 23, 2017
vendor Update to iD v2.1.3 Feb 24, 2017
.coveralls.yml Add Coveralls support Feb 26, 2015
.gitignore Ignore coverage data Apr 28, 2015
.mailmap Update mailmap Oct 27, 2016
.rubocop.yml Add support for Content-Security-Policy Feb 26, 2017
.rubocop_todo.yml Fix rubocop warning Feb 22, 2017
.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 Add support for Content-Security-Policy Feb 26, 2017
Gemfile.lock Add support for Content-Security-Policy Feb 26, 2017
INSTALL.md More dependency tweaks for gem2.3 and apache2-dev Jan 3, 2017
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 Add a couple of notes to the vagrant instructions Feb 20, 2017
Vagrantfile Switch vagrant Ubuntu Trusty -> Xenial Jan 3, 2017
Vendorfile Update Leaflet.contextmenu to the 1.2.1 release Feb 12, 2017
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.