MapFish: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 26: Line 26:
  cd MapFishApp
  cd MapFishApp
  paster serve --reload development.ini
  paster serve --reload development.ini
So far this works SWIMMINGLY!!!

Revision as of 05:02, 10 February 2011

http://mapfish.org/

Requirement: Python 2.5 or newer and the python-dev package.

MpaFish uses a spatial database. You can use PostGIS or MySQL TO install, you just cut and paste a view instructions from the MapFish page.

Once installed you run in a "virtual environment" which is started with this

source env/bin/activate

Create an application

paster create -t mapfish MapFishApp

cd MapFishApp
emacs development.ini # edit the IP address to something useful
paster serve development.ini

You should be able to browse to http://ipaddress:5000/ If so, congrats and now Ctl-C and install more stuff

cd ..
paster create -t mapfish_client MapFishApp
cd MapFishApp
paster serve --reload development.ini

So far this works SWIMMINGLY!!!