The Rails application that powers OpenStreetMap
Find a file
2007-12-05 12:15:41 +00:00
app Use the z13 key for z13 and over. 2007-12-05 12:15:41 +00:00
config move preset tags and colours into config files 2007-12-01 10:32:35 +00:00
db Add a maptile_for_point() function for MySQL to work out which slippy 2007-10-09 22:59:32 +00:00
doc beginning of osm on rails 2006-07-28 21:41:39 +00:00
lib Clear gotele and gotdate when we see the start of a trkpt element to 2007-11-26 16:28:28 +00:00
public Set number of zoom levels on a per layer basis. Closes #603. 2007-12-04 00:42:08 +00:00
script Use a consistent name for the variable holding the relation count. 2007-10-07 14:16:14 +00:00
test Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +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