changeset 66:f7a55c9d126b gmap2

Update documentation.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 10 Mar 2011 09:46:59 +0200
parents b30043f6c2e3
children 1ab913d59322
files README
diffstat 1 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/README	Mon Feb 21 17:26:28 2011 +0200
+++ b/README	Thu Mar 10 09:46:59 2011 +0200
@@ -6,9 +6,9 @@
  - MySQL
  - A sane and working /bin/sh (bash, for example)
  - 'convert' utility of ImageMagick or GraphicsMagick.
- - Pupunen Maputils (http://dev.pupunen.net/public/maputils/trunk/)
+ - Pupunen Maputils (http://pupunen.net/hg/maputils/)
    Actually we need only mkloc utility and the map location data
-   from there, but it is easiest to check out the whole repository.
+   from there, but it is easiest to clone the whole repository.
    Read the README there for additional requirements.
 
 
@@ -27,7 +27,18 @@
   $db_database = "map";
 ?>
 
-3. Run updraw.sh and makegmaps.php
+3. Get and compile Pupunen Maputils, if you already haven't:
+
+   $ cd tools
+   $ hg clone http://pupunen.net/hg/maputils/ maputils
+   $ cd maputils
+   $ make
+   $ cd ..
+
+3. Run updraw.sh and makegmaps.php:
+
+   $ sh updraw.sh
+   $ php makegmaps.php
 
 4. Edit tiles/htaccess.skel, tiles/9/htaccess.skel and tiles/10/htaccess.skel
    to point to right address, rename all of them to .htaccess respectively.