]> git.openstreetmap.org Git - rails.git/blobdiff - doc/README_FOR_APP
merge 15807:16012 from rails_port
[rails.git] / doc / README_FOR_APP
index 129a6f24b58bb7a79f78f5f07dcaa1fc58e646ec..1e76e610b86cf36a62e0d51cd40ee0c5a0bcd0d9 100644 (file)
@@ -1,11 +1,19 @@
-This is the OpenStreetMap rails server codebase. Documentation is currently extremely incomplete. Please help by writing docs and moving any SQL you see to use models etc.
+This is the OpenStreetMap rails server codebase. Documentation is currently
+extremely incomplete. Please help by writing docs and moving any SQL you
+see to use models etc.
 
 =INSTALL
 
+Full information is available at 
+http://wiki.openstreetmap.org/wiki/Rails
+
 * Get rails working (http://www.rubyonrails.org/)
 * Make your db (see db/README)
 * Install ruby libxml bindings:
     sudo apt-get install libxml-ruby1.8 libxml-parser-ruby1.8
+* Install ImageMagick libraries & ruby gem:
+    sudo apt-get install libmagickcore-dev
+    sudo gem install rmagick
 * Install primary keys plugin for active record (minimum version 0.9.1)
     sudo gem install composite_primary_keys
 * Make sure you have a MTA listening on localhost:25 if you want mail
@@ -18,14 +26,17 @@ This is the OpenStreetMap rails server codebase. Documentation is currently extr
 
 See
 
-http://wiki.openstreetmap.org/index.php/REST#Changes_in_the_upcoming_0.4_API
+The information about the next version of the protocol API 0.6 is available at 
+http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6
+http://wiki.openstreetmap.org/wiki/REST
 
 =HACKING
 
 * Log in to your site (proably localhost:3000)
-* Create a user and confirm it
-* You want to play with the API (probably at http://localhost:3000/api/0.5/node/create etc)
-* Lots of tests are needed to test the API.
+* Create a user and confirm it (by setting the active flag to true in the users table of the database
+* You want to play with the API (probably at http://localhost:3000/api/0.6/node/create etc)
+* Lots of tests are needed to test the API. To run the tests use 
+    rake test
 * Lots of little things to make the site work like the old one.
 
 =Bugs