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 2: | Line 2: | ||
MpaFish uses a spatial database. You can use PostGIS or MySQL | MpaFish uses a spatial database. You can use PostGIS or MySQL | ||
TO install, you just cut and paste a | TO install, you just cut and paste a few instructions from the [http://mapfish.org/ MapFish] page. | ||
Once installed you run in a "virtual environment" which is started with this | Once installed you run in a "virtual environment" which is started with this |
Revision as of 06:28, 3 March 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 few 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.
Pylons framework