The Rails application that powers OpenStreetMap
Find a file
Gabriel Ebner 3e18c51695 rails_port_0.5: 006_remove_segments:
- Don't run the helper if there are no segments.
- s/DELETE FROM/TRUNCATE/
2007-08-30 17:23:34 +00:00
app Merge commit 'git-svn' 2007-08-30 09:29:34 +00:00
config preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
db rails_port_0.5: 006_remove_segments: 2007-08-30 17:23:34 +00:00
doc beginning of osm on rails 2006-07-28 21:41:39 +00:00
lib Replace the old session cleanup daemon with a new script to be run from 2007-08-25 09:53:07 +00:00
public More search improvements - a "Where am I?" link that does a reverse 2007-08-24 18:53:30 +00:00
script preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
test renamed entity leftovers 2007-08-30 09:23:50 +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