- Timestamp:
- 04/01/11 17:17:09 (14 months ago)
- Location:
- framework/server/branches/2.1/docs
- Files:
-
- 3 modified
-
conf.py (modified) (1 diff)
-
framework/upgrading.txt (modified) (8 diffs)
-
installation.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/server/branches/2.1/docs/conf.py
r3569 r3762 46 46 # 47 47 # The short X.Y version. 48 version = '2. 0'48 version = '2.1' 49 49 # The full version, including alpha/beta/rc tags. 50 release = '2. 0dev'50 release = '2.1' 51 51 52 52 # The language for content autogenerated by Sphinx. Refer to documentation -
framework/server/branches/2.1/docs/framework/upgrading.txt
r3610 r3762 3 3 4 4 This section provides information for upgrading a MapFish application from 5 MapFish 1.2 to MapFish 2. 05 MapFish 1.2 to MapFish 2.x. 6 6 7 7 Pylons 1.0 8 8 ~~~~~~~~~~ 9 9 10 MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2. 0is based on Pylons 1.0.11 So to upgrade an application from MapFish 1.2 to MapFish 2. 0it is first needed10 MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2.x is based on Pylons 1.0. 11 So to upgrade an application from MapFish 1.2 to MapFish 2.x it is first needed 12 12 to upgrade that application from Pylons 0.9.7 to Pylons 1.0. For this refer to 13 13 the `Pylons 1.0 Upgrading page <http://pylonshq.com/docs/en/1.0/upgrading/>`_, … … 15 15 16 16 .. note: 17 MapFish 2. 0depending on Pylons 1.0, you will run into dependency issues if17 MapFish 2.x depending on Pylons 1.0, you will run into dependency issues if 18 18 you attempt to upgrade to Pylons 0.10. So it is recommended not to attempt 19 19 it. … … 55 55 MapFish-specific adjusments. 56 56 57 MapFish 2. 057 MapFish 2.x 58 58 ~~~~~~~~~~~ 59 59 … … 61 61 ^^^^^^^^^^ 62 62 63 MapFish 2. 0is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy64 provides extensions to SQLAlchemy for use with spatial databases. MapFish 2. 063 MapFish 2.x is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy 64 provides extensions to SQLAlchemy for use with spatial databases. MapFish 2.x 65 65 no longer defines the ``Geometry`` type, the one defined by GeoAlchemy is to be 66 66 used instead. … … 90 90 mapper(User, users_table) 91 91 92 With MapFish 2. 0the same ``user`` model looks like this::92 With MapFish 2.x the same ``user`` model looks like this:: 93 93 94 94 from sqlalchemy import Column, types … … 111 111 ^^^^^^^ 112 112 113 The ``Filter`` abstraction is no longer. With MapFish 2. 0only SQLAlchemy113 The ``Filter`` abstraction is no longer. With MapFish 2.x only SQLAlchemy 114 114 filters (``ClauseElement``) are manipulated. 115 115 … … 142 142 ^^^^^^^^^^ 143 143 144 MapFish 2. 0introduces the ``geojsonify`` decorator for generating GeoJSON.144 MapFish 2.x introduces the ``geojsonify`` decorator for generating GeoJSON. 145 145 146 146 With MapFish 1.2 the ``paster mf-layer`` command generated controller files … … 183 183 return self.protocol.delete(request, response, id) 184 184 185 With MapFish 2. 0the same ``user`` controller looks like this::185 With MapFish 2.x the same ``user`` controller looks like this:: 186 186 187 187 from pylons import request, response, session, tmpl_context as c -
framework/server/branches/2.1/docs/installation.txt
r3569 r3762 25 25 ------------------ 26 26 27 To install MapFish, `download <http://www.mapfish.org/downloads/go-mapfish-framework-2. 0.py>`_ the installation script, and execute it from a terminal.27 To install MapFish, `download <http://www.mapfish.org/downloads/go-mapfish-framework-2.1.py>`_ the installation script, and execute it from a terminal. 28 28 29 29 On a Unix system:: 30 30 31 $ python go-mapfish-framework-2. 0.py --no-site-packages env31 $ python go-mapfish-framework-2.1.py --no-site-packages env 32 32 33 33 On a Windows system:: 34 34 35 C:\> C:\Python25\python.exe go-mapfish-framework-2. 0.py --no-site-packages env35 C:\> C:\Python25\python.exe go-mapfish-framework-2.1.py --no-site-packages env 36 36 37 37 This command creates a virtual Python environment named ``env`` and installs
