root/sample/trunk/README.txt

Revision 3718, 1.2 kB (checked in by elemoine, 17 months ago)

new Map Fish Sample? version

Line 
1MapFishSample
2=============
3
4MapFishSample is a MapFish application. The goal of this sample application is twofold:
5
6* provide a demo on http://demo.mapfish.org
7* provide some sample code for application developers
8
9Install
10-------
11
12MapFishSample is built and deployed using zc.buildout
13(<http://www.buildout.org/>).
14
15For now the only way to install MapFishSample is from its sources
16(MapFishSample isn't distributed on <http://pypi.python.org>).
17
18Get the sources:
19
20$ svn co http://svn.mapfish.org/svn/mapfish/sample/trunk/ MapFishSample
21
22Build the buildout environment:
23
24$ cd MapFishSample
25$ python bootstrap.py --distribute --version 1.5.2
26
27Build and deploy the application:
28
29$ buildout/bin/buildout -c buildout_dev.cfg
30
31When buildout_dev.cfg is used on the buildout command line the application will
32use <http://demo.mapfish.org/mapfishsample/2.0/mapserv> as the WMS URL. To use
33a local mapserv use buildout_main.cfg. The latter is what we use when deploying
34MapFishSample on demo.mapfish.org.
35
36Run
37---
38
39To run MapFishSample in the Paste HTTP Server use this:
40
41$ buildout/bin/paster serve --reload development.ini
42
43To run MapFishSample in Apache mod_wsgi look at the apache/README.txt file.
Note: See TracBrowser for help on using the browser.