X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b4c0bfd8fa324a4c9d8b24e8753d134524ea61c7..5cc239f32976305f5f9a1e53f4d6d8fff5dd0065:/README diff --git a/README b/README index 74c8ed145..fbcaa096b 100644 --- a/README +++ b/README @@ -1,13 +1,43 @@ +INSTALL +======= -Task one -======== +* get rails working (http://www.rubyonrails.org/) -Get OSM on rails with a 0.4 API, without changing the db schema +* make your db (see db/README) -see db/README for how to create the db +* install ruby libxml bindings: -Two -=== + # sudo aptitude install libxml-ruby1.8 libxml-parser-ruby1.8 -change the schema +* install primary keys plugin for active record + + # sudo gem install composite_primary_keys +* 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