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 1: | Line 1: | ||
http://mapfish.org/ | 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. | TO install, you just cut and paste a view instructions from the MapFish page. | ||
Line 13: | Line 13: | ||
paster create -t mapfish MapFishApp | 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 |
Revision as of 04:34, 10 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 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