The Rails application that powers OpenStreetMap
Find a file
2007-08-01 15:19:45 +00:00
app Removed unused preferences method from the user controller - the field 2007-07-31 08:21:16 +00:00
config Removed unused HTTP status code definitions - we now use the Rails ones. 2007-07-30 23:16:13 +00:00
db Add migration to create session table in the database. 2007-07-30 22:59:20 +00:00
doc beginning of osm on rails 2006-07-28 21:41:39 +00:00
lib Fix exception handling in GPX importer. 2007-07-16 06:17:05 +00:00
public Add support for displaying a map covering a specified bounding box. 2007-07-29 14:26:42 +00:00
script Fix the "number of users editing..." table. 2007-08-01 15:19:45 +00:00
test Factor out loading of the various fixtures needed to test API calls 2007-07-27 08:47:35 +00:00
Rakefile beginning of osm on rails 2006-07-28 21:41:39 +00:00
README add daemons 2006-12-01 12:06:38 +00:00

INSTALL
=======

* get rails working (http://www.rubyonrails.org/)

* make your db (see db/README)

* install ruby libxml bindings:

   # sudo aptitude install libxml-ruby1.8 libxml-parser-ruby1.8

* make sure you have a MTA listening on localhost:25 if you want mail

* script/server

* thats it

API CHANGES FOR EDITOR AUTHORS
==============================

See

http://wiki.openstreetmap.org/index.php/REST#Changes_in_the_upcoming_0.4_API

HACKING
=======

log in to your site (proably localhost:3000)

create a user and confirm it

you want to play with the API (probably at localhost:3000/api/0.4/node/create etc)

Lots of tests are needed to test the API.

Lots of little things to make the site work like the old one.

Also see the 'rails_port' component for bugs:
http://trac.openstreetmap.org/query?status=new&status=assigned&status=reopened&component=rails_port&order=priority