Changeset 3394 for sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/creating_webservice.txt
- Timestamp:
- 03/03/10 09:27:59 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/creating_webservice.txt
r3382 r3394 27 27 28 28 First, create a PostGIS-enabled database and name it ``mapfish_workshop``. For 29 that you can launch an ``SQL Shell`` and enter::29 that you can launch an ``SQL Shell`` (psql -U postgres) and enter:: 30 30 31 CREATE DATABASE mapfish_workshop TEMPLATE= template_postgis;31 CREATE DATABASE mapfish_workshop TEMPLATE=postgis_template; 32 32 33 33 Then, open the explorer, go into the ``/home/live/mapfish/mapfish_workshop_fossgis2010/data`` … … 54 54 by this one:: 55 55 56 sqlalchemy.url = postgres://postgres:postgres@localhost:543 2/mapfish_workshop56 sqlalchemy.url = postgres://postgres:postgres@localhost:5433/mapfish_workshop 57 57 58 58 The connection string specifies that the ``postgres`` driver must be used, the 59 database system listens on ``localhost`` and on ``port`` 543 2, and the name of60 the database is ``mapfish_workshop``. 59 database system listens on ``localhost`` and on ``port`` 5433, and the name of 60 the database is ``mapfish_workshop``. (if it's not working, test also with port 5432, which is the normal port) 61 61 62 62 Creating web service
