Hi Anwar,
The BrewMap client is just a simple javascript program, so you should not
need to install anything other than a web server to get the client working.

I have just tried it on my laptop.  I did:

cd /var/www
git clone g...@github.com:jones139/BrewMap.git


I then just pointed a web browser at http://localhost/BrewMap and it
worked.    There is a redirect which may have caused you a problem so you
could look at http://localhost/BrewMap/client/brewmap.html, which is the
direct link to the client page.

Using it like this will just display the data that is included in the
github repository - it is downloaded into BrewMap/server.

In BrewMap/server there is a python program make_brew_json.py that I just
run as a cron job every 10 minutes to re-generate the data files from the
database.    The database should be a postgresql one generated by
osm2pgsql, which is the same type of database that is used by
mapnik<http://wiki.openstreetmap.org/wiki/Mapnik>
.

The file you need to modify to use your own tiles rather than the osm one
should be BrewMap/client/js/brewmap.js

I'll write some installation instructions because a few people have asked
me about this lately.

Regards


Graham.

-- 
Graham Jones
Hartlepool, UK.
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to