The Rails application that powers OpenStreetMap
Find a file
2007-06-23 11:08:58 +00:00
app Removing list of nearby users from account page (now duplicated publicly on user profile page), changing 'Name' label to 'Email' and moving the description textbox further up the page. 2007-06-23 11:08:58 +00:00
config Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452. 2007-06-21 22:52:40 +00:00
db Fixup the base migration so that it creates a database which matches the 2007-06-22 11:10:10 +00:00
doc beginning of osm on rails 2006-07-28 21:41:39 +00:00
lib Make "nearby users" show all those within 50km rather than all those 2007-06-20 17:04:29 +00:00
public Add missing CSS and image resources from OpenLayers 2.4 release and 2007-06-20 00:06:02 +00:00
script API 0.4 Reverted minor errors in changeset 2324 2007-03-23 23:20:47 +00:00
test added user stuff inc beginning of messages 2007-05-04 19:42:17 +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