Show
Ignore:
Timestamp:
03/03/10 09:27:59 (2 years ago)
Author:
cmoullet
Message:

Adapt to fossgis env

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/creating_webservice.html

    r3393 r3394  
    6767countries.</p> 
    6868<p>First, create a PostGIS-enabled database and name it <tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt>. For 
    69 that you can launch an <tt class="docutils literal"><span class="pre">SQL</span> <span class="pre">Shell</span></tt> and enter:</p> 
    70 <div class="highlight-python"><pre>CREATE DATABASE mapfish_workshop TEMPLATE=template_postgis;</pre> 
     69that you can launch an <tt class="docutils literal"><span class="pre">SQL</span> <span class="pre">Shell</span></tt> (psql -U postgres) and enter:</p> 
     70<div class="highlight-python"><pre>CREATE DATABASE mapfish_workshop TEMPLATE=postgis_template;</pre> 
    7171</div> 
    7272<p>Then, open the explorer, go into the <tt class="docutils literal"><span class="pre">/home/live/mapfish/mapfish_workshop_fossgis2010/data</span></tt> 
     
    8888</div> 
    8989<p>by this one:</p> 
    90 <div class="highlight-python"><pre>sqlalchemy.url = postgres://postgres:postgres@localhost:5432/mapfish_workshop</pre> 
     90<div class="highlight-python"><pre>sqlalchemy.url = postgres://postgres:postgres@localhost:5433/mapfish_workshop</pre> 
    9191</div> 
    9292<p>The connection string specifies that the <tt class="docutils literal"><span class="pre">postgres</span></tt> driver must be used, the 
    93 database system listens on <tt class="docutils literal"><span class="pre">localhost</span></tt> and on <tt class="docutils literal"><span class="pre">port</span></tt> 5432, and the name of 
    94 the database is <tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt>.</p> 
     93database system listens on <tt class="docutils literal"><span class="pre">localhost</span></tt> and on <tt class="docutils literal"><span class="pre">port</span></tt> 5433, and the name of 
     94the database is <tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt>. (if it&#8217;s not working, test also with port 5432, which is the normal port)</p> 
    9595</div> 
    9696<div class="section" id="creating-web-service">