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 13: Line 13:
   
   
  cd MapFishApp
  cd MapFishApp
  emacs development.ini # edit the IP address to something useful
  emacs development.ini # edit the IP address to something useful (10.1.10.29 in my case)
  paster serve development.ini
  paster serve development.ini
   
   
You should be able to browse to http://ipaddress:5000/
You should be able to browse to http://10.1.10.29:5000/
If so, congrats and now Ctl-C and install more stuff
If so, congrats and now Ctl-C and install more stuff



Revision as of 04:20, 11 February 2011

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 (10.1.10.29 in my case)
paster serve development.ini

You should be able to browse to http://10.1.10.29: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!!!

MapFish components

More learning curves thrown at you.

OpenLayers

ExtJS

GeoExt

Pylons framework