Wiki

Clone wiki

genmap / Installation

Installation

How to install genmap on any django-capable server.

Requirements

Optional

Get genmap

  • Get the latest genmap source code from our repository:
cd ~/myrepos
hg clone http://bitbucket.org/arcanum/genmap/
cd ~/myrepos/genmap
$EDITOR local_settings.py

Setup the Database

  • Create the database using the postgis extensions:
createdb -T template_postgis mygenmap

See also: GeoDjango Docs

  • Do a syncdb and load the country data:
cd ~/myrepos/genmap
./manage.py syncdb
cd ~/myrepos/genmap/scripts
./load_countries.py

Hopefully, it should run:

cd ~/myrepos/genmap
./manage.py runserver

What next?

  • Customize
  • Create bug reports and patches! :p

Updated