Changeset 3396

Show
Ignore:
Timestamp:
03/05/10 11:55:17 (2 years ago)
Author:
bbinet
Message:

small updates for mapfish workshop (mainly typo)

Location:
sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src
Files:
29 modified

Legend:

Unmodified
Added
Removed
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/building_javascript.txt

    r3381 r3396  
    1616You can check that ``jsbuild`` is properly installed by running this command:: 
    1717 
    18     (env) env/bin/jsbuild --help 
     18    (env) $ jsbuild --help 
    1919 
    2020It should produce this output:: 
    2121 
    22     Usage: jsbuild-script.py [options] filename1.cfg [filename2.cfg...] 
     22    Usage: jsbuild [options] filename1.cfg [filename2.cfg...] 
    2323 
    2424    Options: 
     
    110110You can now launch the build command:: 
    111111 
    112     (env) cd MapFishApp/jsbuild 
    113     (env) /home/live/mapfish/env/bin/jsbuild -o ../mapfishapp/public/build/mapfish app.cfg 
     112    (env) $ cd MapFishApp/jsbuild 
     113    (env) $ jsbuild -o ../mapfishapp/public/build/mapfish app.cfg 
    114114 
    115115After a small while, the output should be:: 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/creating_application.txt

    r3381 r3396  
    1414To create a MapFish application use:: 
    1515 
    16     <env> paster create -t mapfish MapFishApp 
     16    (env) $ paster create -t mapfish MapFishApp 
    1717 
    1818``MapFishApp`` is the name of the MapFish application you're creating, you can 
     
    3131the ``MapFishApp`` folder and start the application:: 
    3232 
    33     <env> $ cd MapFishApp 
    34     <env> $ paster serve development.ini 
     33    (env) $ cd MapFishApp 
     34    (env) $ paster serve development.ini 
    3535 
    3636This command starts your application in the Paster web server, which is a 
     
    5959commands:: 
    6060 
    61     <env> cd .. 
    62     <env> paster create -t mapfish_client MapFishApp 
     61    (env) $ cd .. 
     62    (env) $ paster create -t mapfish_client MapFishApp 
    6363 
    6464When asked whether to overwrite ``index.html`` answer ``y``. This will 
     
    6868Start the application again:: 
    6969 
    70     <env> cd MapFishApp 
    71     <env> paster serve --reload development.ini 
     70    (env) $ cd MapFishApp 
     71    (env) $ paster serve --reload development.ini 
    7272 
    7373.. note:: 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/creating_webservice.txt

    r3394 r3396  
    3131    CREATE DATABASE mapfish_workshop TEMPLATE=postgis_template; 
    3232 
    33 Then, open the explorer, go into the ``/home/live/mapfish/mapfish_workshop_fossgis2010/data`` 
     33Then, open the explorer, go into the ``~/mapfish/mapfish_workshop_fossgis2010/data`` 
    3434folder and extract the ``countries.zip`` file. And enter the following commands 
    3535to import the ``countries`` Shapefile as a table named ``countries`` in the 
    3636``mapfish_workshop`` database:: 
    3737     
    38     cd /home/live/mapfish/mapfish_workshop_fossgis2010/data 
    39     ~mapfish/mapfish_workshop_fossgis2010/data$ shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres 
     38    cd ~/mapfish/mapfish_workshop_fossgis2010/data 
     39    shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres 
    4040 
    4141You can start pgAdmin and connect to the ``mapfish_workshop`` database to check 
     
    5454by this one:: 
    5555 
    56     sqlalchemy.url = postgres://postgres:postgres@localhost:5433/mapfish_workshop 
     56    sqlalchemy.url = postgres://postgres:postgres@localhost:5432/mapfish_workshop 
    5757 
    5858The connection string specifies that the ``postgres`` driver must be used, the 
    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) 
     59database system listens on ``localhost`` and on ``port`` 5432, and the name of 
     60the database is ``mapfish_workshop``. 
    6161 
    6262Creating web service 
     
    85852. generate the web service code with the ``mf-layer`` command:: 
    8686 
    87     <env> ~mapfish/MapFishApp>paster mf-layer countries 
     87    (env) $ paster mf-layer countries 
    8888 
    89893. configure a route to the ``countries`` controller, this is done by adding 
     
    9898restart ``MapFishApp`` with:: 
    9999 
    100     <env> ~mapfish/MapFishApp>paster serve --reload development.ini 
     100    (env) $ paster serve --reload development.ini 
    101101 
    102102You can now open http://localhost:5000/countries?limit=1 in your browser, you 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_sources/getting_started.txt

    r3395 r3396  
    7474 
    7575.. [#] http://getfirebug.com/ 
    76 .. [#] https://addons.mozilla.org/de/firefox/addons/versions/1843 
     76.. [#] https://addons.mozilla.org/en-US/firefox/addon/1843 
    7777.. [#] https://addons.mozilla.org/en-US/firefox/addon/10869 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/_static/default.css

    r3379 r3396  
    167167} 
    168168 
     169div.admonition p { 
     170    margin-bottom: 5px; 
     171} 
     172 
     173div.admonition pre { 
     174    margin-bottom: 5px; 
     175} 
     176 
     177div.admonition ul, div.admonition ol { 
     178    margin-bottom: 5px; 
     179} 
     180 
    169181div.note { 
    170182    background-color: #eee; 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/adding_search_functionality.html

    r3393 r3396  
    148148    <div class="footer"> 
    149149      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    150       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     150      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    151151    </div> 
    152152  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/building_javascript.html

    r3393 r3396  
    5858virtual Python environment as part of the framework installation.</p> 
    5959<p>You can check that <tt class="docutils literal"><span class="pre">jsbuild</span></tt> is properly installed by running this command:</p> 
    60 <div class="highlight-python"><pre>(env) env/bin/jsbuild --help</pre> 
     60<div class="highlight-python"><pre>(env) $ jsbuild --help</pre> 
    6161</div> 
    6262<p>It should produce this output:</p> 
    63 <div class="highlight-python"><pre>Usage: jsbuild-script.py [options] filename1.cfg [filename2.cfg...] 
     63<div class="highlight-python"><pre>Usage: jsbuild [options] filename1.cfg [filename2.cfg...] 
    6464 
    6565Options: 
     
    144144named <tt class="docutils literal"><span class="pre">build</span></tt> with two sub-folders, <tt class="docutils literal"><span class="pre">mapfish</span></tt> and <tt class="docutils literal"><span class="pre">openlayers</span></tt>.</p> 
    145145<p>You can now launch the build command:</p> 
    146 <div class="highlight-python"><pre>(env) cd MapFishApp/jsbuild 
    147 (env) /home/live/mapfish/env/bin/jsbuild -o ../mapfishapp/public/build/mapfish app.cfg</pre> 
     146<div class="highlight-python"><pre>(env) $ cd MapFishApp/jsbuild 
     147(env) $ jsbuild -o ../mapfishapp/public/build/mapfish app.cfg</pre> 
    148148</div> 
    149149<p>After a small while, the output should be:</p> 
     
    275275    <div class="footer"> 
    276276      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    277       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     277      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    278278    </div> 
    279279  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/creating_application.html

    r3393 r3396  
    5656<h3>Generating the base<a class="headerlink" href="#generating-the-base" title="Permalink to this headline">¶</a></h3> 
    5757<p>To create a MapFish application use:</p> 
    58 <div class="highlight-python"><pre>&lt;env&gt; paster create -t mapfish MapFishApp</pre> 
     58<div class="highlight-python"><pre>(env) $ paster create -t mapfish MapFishApp</pre> 
    5959</div> 
    6060<p><tt class="docutils literal"><span class="pre">MapFishApp</span></tt> is the name of the MapFish application you&#8217;re creating, you can 
     
    6969<p>Now is the time to check that your MapFish application works. For this go into 
    7070the <tt class="docutils literal"><span class="pre">MapFishApp</span></tt> folder and start the application:</p> 
    71 <div class="highlight-python"><pre>&lt;env&gt; $ cd MapFishApp 
    72 &lt;env&gt; $ paster serve development.ini</pre> 
     71<div class="highlight-python"><pre>(env) $ cd MapFishApp 
     72(env) $ paster serve development.ini</pre> 
    7373</div> 
    7474<p>This command starts your application in the Paster web server, which is a 
     
    9191<p>Enter <tt class="docutils literal"><span class="pre">Ctrl+C</span></tt> to stop the Paster server and proceed with these 
    9292commands:</p> 
    93 <div class="highlight-python"><pre>&lt;env&gt; cd .. 
    94 &lt;env&gt; paster create -t mapfish_client MapFishApp</pre> 
     93<div class="highlight-python"><pre>(env) $ cd .. 
     94(env) $ paster create -t mapfish_client MapFishApp</pre> 
    9595</div> 
    9696<p>When asked whether to overwrite <tt class="docutils literal"><span class="pre">index.html</span></tt> answer <tt class="docutils literal"><span class="pre">y</span></tt>. This will 
     
    9898provided by the <tt class="docutils literal"><span class="pre">mapfish_client</span></tt> template.</p> 
    9999<p>Start the application again:</p> 
    100 <div class="highlight-python"><pre>&lt;env&gt; cd MapFishApp 
    101 &lt;env&gt; paster serve --reload development.ini</pre> 
     100<div class="highlight-python"><pre>(env) $ cd MapFishApp 
     101(env) $ paster serve --reload development.ini</pre> 
    102102</div> 
    103103<div class="admonition note"> 
     
    401401    <div class="footer"> 
    402402      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    403       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     403      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    404404    </div> 
    405405  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/creating_webservice.html

    r3394 r3396  
    7070<div class="highlight-python"><pre>CREATE DATABASE mapfish_workshop TEMPLATE=postgis_template;</pre> 
    7171</div> 
    72 <p>Then, open the explorer, go into the <tt class="docutils literal"><span class="pre">/home/live/mapfish/mapfish_workshop_fossgis2010/data</span></tt> 
     72<p>Then, open the explorer, go into the <tt class="docutils literal"><span class="pre">~/mapfish/mapfish_workshop_fossgis2010/data</span></tt> 
    7373folder and extract the <tt class="docutils literal"><span class="pre">countries.zip</span></tt> file. And enter the following commands 
    7474to import the <tt class="docutils literal"><span class="pre">countries</span></tt> Shapefile as a table named <tt class="docutils literal"><span class="pre">countries</span></tt> in the 
    7575<tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt> database:</p> 
    76 <div class="highlight-python"><pre>cd /home/live/mapfish/mapfish_workshop_fossgis2010/data 
    77 ~mapfish/mapfish_workshop_fossgis2010/data$ shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres</pre> 
     76<div class="highlight-python"><pre>cd ~/mapfish/mapfish_workshop_fossgis2010/data 
     77shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres</pre> 
    7878</div> 
    7979<p>You can start pgAdmin and connect to the <tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt> database to check 
     
    8888</div> 
    8989<p>by this one:</p> 
    90 <div class="highlight-python"><pre>sqlalchemy.url = postgres://postgres:postgres@localhost:5433/mapfish_workshop</pre> 
     90<div class="highlight-python"><pre>sqlalchemy.url = postgres://postgres:postgres@localhost:5432/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> 5433, and the name of 
    94 the 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> 
     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> 5432, and the name of 
     94the database is <tt class="docutils literal"><span class="pre">mapfish_workshop</span></tt>.</p> 
    9595</div> 
    9696<div class="section" id="creating-web-service"> 
     
    116116</li> 
    117117<li><p class="first">generate the web service code with the <tt class="docutils literal"><span class="pre">mf-layer</span></tt> command:</p> 
    118 <div class="highlight-python"><pre>&lt;env&gt; ~mapfish/MapFishApp&gt;paster mf-layer countries</pre> 
     118<div class="highlight-python"><pre>(env) $ paster mf-layer countries</pre> 
    119119</div> 
    120120</li> 
     
    130130<p>If you killed <tt class="docutils literal"><span class="pre">paster</span> <span class="pre">serve</span></tt> or if you did not add the <tt class="docutils literal"><span class="pre">--reload</span></tt> switch, 
    131131restart <tt class="docutils literal"><span class="pre">MapFishApp</span></tt> with:</p> 
    132 <div class="highlight-python"><pre>&lt;env&gt; ~mapfish/MapFishApp&gt;paster serve --reload development.ini</pre> 
     132<div class="highlight-python"><pre>(env) $ paster serve --reload development.ini</pre> 
    133133</div> 
    134134<p>You can now open <a class="reference external" href="http://localhost:5000/countries?limit=1">http://localhost:5000/countries?limit=1</a> in your browser, you 
     
    282282    <div class="footer"> 
    283283      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    284       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     284      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    285285    </div> 
    286286  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/customizing_application.html

    r3393 r3396  
    219219    <div class="footer"> 
    220220      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    221       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     221      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    222222    </div> 
    223223  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/customizing_webservice.html

    r3393 r3396  
    171171    <div class="footer"> 
    172172      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    173       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     173      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    174174    </div> 
    175175  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/genindex.html

    r3393 r3396  
    8484    <div class="footer"> 
    8585      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    86       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     86      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    8787    </div> 
    8888  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/getting_started.html

    r3395 r3396  
    111111<colgroup><col class="label" /><col /></colgroup> 
    112112<tbody valign="top"> 
    113 <tr><td class="label"><a class="fn-backref" href="#id2">[2]</a></td><td><a class="reference external" href="https://addons.mozilla.org/de/firefox/addons/versions/1843">https://addons.mozilla.org/de/firefox/addons/versions/1843</a></td></tr> 
     113<tr><td class="label"><a class="fn-backref" href="#id2">[2]</a></td><td><a class="reference external" href="https://addons.mozilla.org/en-US/firefox/addon/1843">https://addons.mozilla.org/en-US/firefox/addon/1843</a></td></tr> 
    114114</tbody> 
    115115</table> 
     
    184184    <div class="footer"> 
    185185      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    186       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     186      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    187187    </div> 
    188188  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/index.html

    r3393 r3396  
    144144    <div class="footer"> 
    145145      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    146       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     146      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    147147    </div> 
    148148  </body> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/search.html

    r3393 r3396  
    8484    <div class="footer"> 
    8585      &copy; Copyright 2009, Éric Lemoine, Cédric Moullet, François Van Der Biest. 
    86       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.4. 
     86      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5. 
    8787    </div> 
    8888  <script type="text/javascript" src="searchindex.js"></script> 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/searchindex.js

    r3395 r3396  
    1 Search.setIndex({desctypes:{},terms:{represent:1,all:[6,1,4,2],code:[0,1,2,3,4,5,6],primem:0,func:6,queri:[6,1],global:2,datum:0,show_bug:4,osm:2,tooltip:5,follow:[0,1,7,2],whose:[1,2],privat:2,equal_to:6,send:[0,6,2],srtext:0,init:2,program:[6,5],present:1,createmap:2,sens:2,addon:7,createtbaritem:[5,2],sourc:[1,7],string:[1,2],fals:[1,5],mergefilterdecor:4,util:4,alik:3,oceana:6,semi_major:0,brows:2,did:1,list:[5,4,7],geograph:1,item:2,tofeatur:6,mapfishapp:[1,4,2],quick:2,der:3,pleas:5,auth_srid:0,impli:3,icewasel:[3,7],cfg:[4,2],direct:4,past:[7,2],second:6,aggreg:4,pass:2,download:7,mfbase:[4,2],click:0,index:[6,1,4,2,7],what:2,sub:[4,2],createlayerstor:2,svn:7,section:[5,4,2],abl:[0,4,7],"while":4,overload:6,current:1,delet:[1,2],version:[4,2,7],"new":[0,5,2,1],net:[],createlay:[5,2],method:1,metadata:[6,1],widget:[0,5,2],themselv:4,titl:4,longitud:0,gener:[3,1,2],here:[0,5,2,4,1,6],htdoc:7,bodi:4,let:2,free:[1,2],trunk:[0,5],depend:[4,2,7],modifi:[6,1,2],valu:[0,6],search:[0,3],proj4text:0,anotherwai:2,geometrytablemixin:[6,1],iconcl:5,zoombox:5,pick:2,action:[0,6,5,2],chang:0,commonli:2,macintosh:7,firefox:[3,4,7],mercat:[0,5],activ:7,app:[4,2],apt:7,put:[1,2],"1sp":0,visibl:2,instal:[3,1,4,2,7],txt:4,resource_dir:4,unit:0,highli:1,from:[1,2],zip:1,jsonview:7,epsg:[0,1],regist:2,two:[6,1,4,2],next:5,stylesheet:4,call:2,python25:[],recommend:[1,7],type:[6,4,2],more:[5,4,2],comparison:6,relat:2,notic:2,filename1:4,progam:0,indic:5,paste_deploi:7,known:0,postgresql:[1,7],hold:4,must:[0,6,1,4],psql:1,graphic:2,setup:[1,2],work:[1,7,2],dev:[5,7,2],"\u00e9ric":3,can:[0,5,2,4,1,6,7],learn:[1,5,4,2],under:3,root:[4,2,7],def:[6,1],control:[0,6,5,2,1],sqlite:1,prompt:7,explor:1,give:[0,2],sudo:7,share:[3,2],templat:[1,7,2],high:2,tag:2,want:[5,2],mapnik:2,end:4,goal:2,rather:5,charset:4,geojson:[6,1],latitude_of_origin:0,write:[1,2],how:[0,5,4,2,1],mapfish_layout:5,sever:6,env:[1,4,2,7],answer:2,xhtml:4,config:[1,2],css:[4,2],updat:1,map:[0,5,2,4,1,6],product:2,resourc:[1,4],singular:1,max:5,earlier:0,befor:[1,4],"fran\u00e7oi":3,mai:[0,5],drastic:4,data:[3,1,2],demonstr:6,handl:2,printing_src:7,autoload_with:[6,1],third:2,interpol:4,minim:7,postgi:[1,7],element:4,callback:2,"switch":[1,2],environ:[4,7],spheric:5,allow:7,enter:[1,7,2],talk:2,help:[5,4],move:1,becaus:4,through:[1,7,2],apidoc:[0,5,2],paramet:[0,5],create_default_filt:6,monitor:2,img:4,searchcomplet:[0,6],fix:4,whether:2,window:7,projc:0,geoext:[0,5,4,2],main:[5,2],pixel:4,them:2,"return":[0,6,5,2,1],pure:2,thei:2,python:[1,4,2,7],default_filt:6,tile:[5,2],studi:[3,1,2],now:[6,1,4,2,7],complain:0,choic:2,name:[0,5,2,4,1,7],edit:[0,5,4,2,1],simpl:[3,6],bonu:[0,6,5,1],mode:[0,4],each:1,debug:[4,2,7],address:2,side:2,addtbaritem:0,mapfish_workshop:1,onreadi:2,singlefil:4,meta:4,"static":2,connect:[3,1,2],our:1,extract:1,event:6,out:[5,7],variabl:1,grai:4,profit:5,open:[1,7,2],semi_minor:0,content:[3,4],vector:[6,5],adapt:[4,2],rel:4,print:4,plural:1,correct:[0,6,5],postgr:1,insid:2,advanc:[3,6],geogc:0,the_geom_simpl:6,postgis_templ:1,differ:[5,2],togglegroup:5,small:4,ajax:0,base:[6,1,4,2],spatialit:1,ask:2,org:[0,5,2,4,1,6,7],care:[4,2],spatial_ref_si:0,indent:1,countriescontrol:[6,1],launch:[1,4],recom:7,filter:6,thing:[4,2],place:4,outsid:2,geometri:[6,1],top:2,first:[6,1,4,7],oper:[1,4],softwar:[],render:2,onc:4,arrai:[0,5],qualiti:2,false_east:0,mapfish_workshop_fossgis2010:[1,7],done:[6,1,4,2,7],turtois:[],oppos:5,arguments_str:4,miss:4,size:4,given:[5,2],script:[4,2],interact:2,system:[0,1],messag:4,statement:[0,1],termin:7,store:2,listen:[0,6,1,2],shell:1,consol:4,option:[0,5,4],especi:2,namespac:2,tool:[3,5,4,2],copi:[4,7],park:5,specifi:[1,4],hut:5,compressor:4,part:[4,2],mostli:2,haven:5,png:5,serv:[1,2],kind:3,mapserv_c2corg:5,provid:[0,1,2,3,4,5,6],tree:2,structur:2,project:0,test_countri:1,browser:[1,5,4,2,7],latitud:0,basecontrol:1,comput:7,ani:[3,5,7,2],packag:[4,2,7],xmln:4,pylon:7,have:[0,5,7,2],tabl:[6,1,2],need:[0,1,4,2],scale_factor:0,properli:4,exclud:4,saw:[0,2],engin:[6,1,2],built:4,lib:[0,5,4,2],inform:[0,2],rout:[1,5],sandbox:7,port:[1,2],note:[0,5,4,2,1],also:[6,1,7,2],exampl:[6,5,7,2],lonlat:4,build:[3,4,2],which:[1,2],combin:6,singl:[5,4],simplifi:6,begin:[4,2],sure:[],distribut:2,normal:1,setuptool:7,previou:[0,4],compress:4,most:2,regular:2,deploi:[7,2],the_geom:[6,1],"class":[0,5,2,4,1,6],"_build":7,requir:[6,5,7],don:[1,5,4],slider:2,url:[0,5,1],doc:[0,6,5,2,1],later:[5,2],request:[0,6,1,4,2],ext:[4,2],axi:0,camptocamp:[3,5,7],show:[0,1,4],api:[6,1],text:[4,2],verbos:4,session:1,shp2pgsql:1,corner:4,lemoin:3,autoload:[6,1],involv:[6,5],onli:[1,6,5,4],locat:7,execut:[6,2],configur:[0,5,2,4,1,6],apach:7,should:[0,5,2,4,1,7],rico:4,theme:4,folder:[1,4,2,7],contribut:5,variou:2,get:[0,1,2,3,4,5,6,7],express:3,watch:1,autom:2,cannot:[7,2],tcp:2,toolbox:2,him:2,restart:1,layout:2,shp:1,mapper:[6,1],bat:[],bar:5,enabl:[0,1,7],organ:5,jstool:4,y_0:0,reload:[1,5,4,2],common:3,contain:[1,4,2],attribut:[3,1],where:[1,4,2],view:[7,2],countries_t:[6,1],set:[1,6,5],knowledg:6,mapfish_cli:[7,2],see:[0,5,2,4,1,6],getfirebug:7,result:[0,4],respons:[0,6,1,7,2],transpar:5,stop:2,correctli:7,databas:[0,6,1,2,3],review:2,label:6,c2c:5,written:5,won:2,moullet:3,between:1,"import":[1,4],equiv:4,paster:[1,7,2],popup:[0,6],javascript:[3,5,4,2,7],layerstor:2,extens:[3,7],job:[6,1],entir:2,extent:5,come:2,popul:[0,1,2],disclaim:3,last:[4,2],plugin:[4,7],etc:[4,2],tour:2,instanc:[5,4,2],logic:[6,1],countri:[0,6,1],com:[7,2],column_properti:6,comment:[1,4],point:[1,5,4,2],sercic:6,non:[1,5,4],framework:[1,4,2,7],path:4,typic:2,assum:[7,2],compos:2,empti:[1,5],compon:2,json:[6,1,7],workshop:[0,7,4,2,3],toolbar:[5,2],modif:6,addit:6,polygon:5,artemkhodush:2,both:1,"__table__":[6,1],imag:5,no_def:0,argument:2,coordin:1,minifi:[4,2],togeth:5,x_0:0,shapefil:1,those:2,"case":[0,1],mapfishapp_layout:[0,5,4,2],look:[0,5,4,2,7],servic:[0,1,2,3,5,6],properti:[6,1,4],sourceforg:[],defin:[1,2],triggereventdecor:4,abov:[4,2],error:4,xtheme:4,ini:[1,2],openstreetmap:2,layer:[3,5,2,4,1,6],lon_0:0,file:[0,5,4,2,1],ctrl:2,readi:[1,2],"null":0,wkb:6,readm:4,site:[5,7],filename2:4,itself:2,uncom:4,limit:1,tediou:2,"__init__":1,mako:2,treepanel:2,develop:[6,1,2],author:[0,3],perform:4,parti:2,make:[0,5,2],belong:1,minif:2,same:7,proce:2,html:[0,5,2,4,1,6,7],decod:6,output_dir:4,singletil:5,pai:1,grahic:2,document:[0,7,2,3],infer:2,http:[0,5,2,4,1,6,7],utf8:4,driver:1,mapfishapp_init:[4,2],"c\u00e9dric":3,lat_t:0,climb:5,tune:1,iceweasel:7,task:[0,6,5,2,1],pylons_minim:7,mention:2,entri:[4,2],nadgrid:0,bugzilla:4,without:[3,4],command:[1,4,2,7],basic_packag:7,thi:[0,5,2,4,1,6,7],choos:2,model:[6,1,2],self:[6,1],load:[6,4,2,7],identifi:1,paus:0,just:[0,4,2],jsbuild:[4,2],basetyp:4,pywin32:[],rest:[1,2],select:6,kill:1,aspect:2,mysql:1,languag:4,web:[0,1,2,3,6,7],xmlhttprequest:4,greenwich:0,expos:2,displaydefaultpopup:0,add:[0,5,7,2,1],east:0,openjsan:2,modul:[0,1,2,3,4,5,6,7],take:[1,5,2],bin:[5,4,7],applic:[3,5,2,4,1,6,7],australia:5,template_postgi:[],format:[1,6,5],read:1,zoomout:5,grid:5,know:[0,5,4],librairi:2,world:0,licens:3,python2:7,insert:0,like:[0,5,4,2,7],specif:[1,5,2],zoom:[0,5,2],server:2,collect:1,href:4,necessari:2,either:3,output:[4,7],page:[7,2],www:[0,5,2,4,1,6,7],right:[],often:2,allowdepress:5,some:[1,2],back:2,contin:6,sampl:2,spheroid:0,mapfish:[0,1,2,3,4,5,6,7],proper:4,home:[1,4,2,7],librari:[0,5,2],googl:[0,5,4],mappanel:2,protocol:[6,1,4],biest:3,substitut:1,exit:4,proj:0,toolkit:6,localhost:[1,4,2,7],refer:6,cgi:[5,4],core:[0,1,4],object:[0,6,5,2,1],run:[0,4,2],power:6,uncompress:4,gmflocat:4,usag:4,step:[1,7],srid:0,post:1,after:[1,5,4],panel:2,src:[4,2],about:[0,5,4,2],actual:[5,4,2],would:5,column:[6,1],materi:[3,7],extj:2,pgadmin:1,degre:0,act:2,produc:4,compare_filt:6,client:[0,4,2,7],own:2,bound:4,automat:2,three:1,warranti:3,creativ:3,orm:6,auth_nam:0,wrap:0,openlay:[0,5,4,2],merc:0,your:[0,5,2,4,1,7],libgeo:7,merg:4,van:3,support:1,hex:6,live:[1,4],overwrit:2,custom:[3,6,5,2,1],avail:7,start:[3,1,7,2],reli:[0,1,2],trigger:0,interfac:[0,5,4,2],includ:[6,1,4,2],replac:[6,1],"var":4,"function":[0,1,2,3,4,5,6],reduc:4,head:4,central_meridian:0,north:0,form:4,basic:[7,2],sqlalchemi:[6,1,2],link:4,line:[1,2],"true":[1,6,5,2],bug:4,viewport:2,info:4,possibl:4,clearli:2,checkout:[],displai:[0,6,5],record:1,geomcolumn:1,"export":7,featur:[6,1],creat:[0,1,2,3,4,5,6,7],dure:2,repres:[1,2],mainli:2,exist:1,firebug:[4,7],false_north:0,curl:7,check:[1,4,2,7],again:[1,5,2],readonli:1,layercontain:2,todo:[],user:[0,5,4,2],when:[0,1,2],virtual:[4,7],"default":[6,5,4,2],other:[4,2,7],spatial:1,test:[1,2],you:[0,5,2,4,1,6,7],node:2,draw:[6,5],mozilla:[4,7],"public":[4,2],sql:[6,1],geodet:0,debian:7,concat:4,stai:1,lang:4,searcher:[0,6,4],receiv:[6,1],directori:[4,7],single_fil:4,space:1,descript:1,summit:5,time:[1,4,2],push:5,profil:[3,4,2]},titles:["Module 6 - Adding search functionality","Module 5 - Creating Web Services","Module 2 - Creating Application","MapFish Workshop","Module 4 - Building JavaScript","Module 3 - Customizing the Application","Module 7 - Customizing the web service","Module 1 - Getting Started"],modules:{},descrefs:{},filenames:["adding_search_functionality","creating_webservice","creating_application","index","building_javascript","customizing_application","customizing_webservice","getting_started"]}) 
     1Search.setIndex({desctypes:{},terms:{represent:1,all:[6,1,4,2],code:[0,1,2,3,4,5,6],primem:0,func:6,queri:[6,1],global:2,datum:0,show_bug:4,osm:2,tooltip:5,follow:[0,1,7,2],whose:[1,2],privat:2,equal_to:6,send:[0,6,2],srtext:0,init:2,program:[6,5],present:1,createmap:2,sens:2,addon:7,createtbaritem:[5,2],sourc:[1,7],string:[1,2],fals:[1,5],mergefilterdecor:4,util:4,alik:3,oceana:6,semi_major:0,brows:2,did:1,list:[5,4,7],geograph:1,item:2,tofeatur:6,mapfishapp:[1,4,2],quick:2,der:3,pleas:5,auth_srid:0,impli:3,icewasel:[3,7],cfg:[4,2],direct:4,past:[7,2],second:6,aggreg:4,pass:2,download:7,mfbase:[4,2],click:0,index:[6,1,4,2,7],what:2,sub:[4,2],createlayerstor:2,svn:7,section:[5,4,2],abl:[0,4,7],"while":4,overload:6,current:1,delet:[1,2],version:[4,2,7],"new":[0,5,2,1],net:[],createlay:[5,2],method:1,metadata:[6,1],widget:[0,5,2],themselv:4,titl:4,longitud:0,gener:[3,1,2],here:[0,5,2,4,1,6],htdoc:7,bodi:4,let:2,free:[1,2],trunk:[0,5],depend:[4,2,7],modifi:[6,1,2],valu:[0,6],search:[0,3],proj4text:0,anotherwai:2,geometrytablemixin:[6,1],iconcl:5,zoombox:5,pick:2,action:[0,6,5,2],chang:0,commonli:2,macintosh:7,firefox:[3,4,7],mercat:[0,5],activ:7,app:[4,2],apt:7,put:[1,2],"1sp":0,visibl:2,instal:[3,1,4,2,7],txt:4,resource_dir:4,unit:0,highli:1,from:[1,2],zip:1,jsonview:7,epsg:[0,1],regist:2,two:[6,1,4,2],next:5,stylesheet:4,call:2,python25:[],recommend:[1,7],type:[6,4,2],more:[5,4,2],comparison:6,under:3,notic:2,filename1:4,progam:0,indic:5,paste_deploi:7,known:0,postgresql:[1,7],hold:4,must:[0,6,1,4],psql:1,graphic:2,setup:[1,2],work:[1,7,2],dev:[5,7,2],"\u00e9ric":3,can:[0,5,2,4,1,6,7],learn:[1,5,4,2],root:[4,2,7],def:[6,1],control:[0,6,5,2,1],sqlite:1,prompt:7,explor:1,give:[0,2],sudo:7,share:[3,2],templat:[1,7,2],high:2,tag:2,want:[5,2],mapnik:2,end:4,goal:2,rather:5,charset:4,geojson:[6,1],latitude_of_origin:0,write:[1,2],how:[0,5,4,2,1],mapfish_layout:5,sever:6,env:[1,4,2,7],answer:2,xhtml:4,config:[1,2],css:[4,2],updat:1,map:[0,5,2,4,1,6],product:2,resourc:[1,4],singular:1,max:5,earlier:0,befor:[1,4],"fran\u00e7oi":3,mai:[0,5],drastic:4,data:[3,1,2],demonstr:6,handl:2,printing_src:7,autoload_with:[6,1],third:2,interpol:4,minim:7,postgi:[1,7],exclud:4,callback:2,"switch":[1,2],environ:[4,7],spheric:5,allow:7,enter:[1,7,2],talk:2,help:[5,4],move:1,becaus:4,through:[1,7,2],apidoc:[0,5,2],paramet:[0,5],create_default_filt:6,monitor:2,img:4,searchcomplet:[0,6],fix:4,whether:2,window:7,projc:0,geoext:[0,5,4,2],main:[5,2],pixel:4,them:2,"return":[0,6,5,2,1],pure:2,thei:2,python:[1,4,2,7],default_filt:6,tile:[5,2],studi:[3,1,2],now:[6,1,4,2,7],complain:0,choic:2,name:[0,5,2,4,1,7],edit:[0,5,4,2,1],simpl:[3,6],bonu:[0,6,5,1],mode:[0,4],each:1,debug:[4,2,7],address:2,side:2,addtbaritem:0,mapfish_workshop:1,onreadi:2,singlefil:4,meta:4,"static":2,connect:[3,1,2],our:1,extract:1,event:6,out:[5,7],variabl:1,grai:4,profit:5,open:[1,7,2],semi_minor:0,content:[3,4],vector:[6,5],adapt:[4,2],rel:4,print:4,plural:1,correct:[0,6,5],postgr:1,insid:2,advanc:[3,6],geogc:0,the_geom_simpl:6,postgis_templ:1,differ:[5,2],togglegroup:5,small:4,ajax:0,base:[6,1,4,2],spatialit:1,ask:2,org:[0,5,2,4,1,6,7],relat:2,care:[4,2],spatial_ref_si:0,indent:1,countriescontrol:[6,1],launch:[1,4],recom:7,filter:6,thing:[4,2],place:4,outsid:2,geometri:[6,1],top:2,first:[6,1,4,7],oper:[1,4],softwar:[],render:2,onc:4,arrai:[0,5],qualiti:2,false_east:0,mapfish_workshop_fossgis2010:[1,7],done:[6,1,4,2,7],turtois:[],oppos:5,arguments_str:4,miss:4,size:4,given:[5,2],script:[4,2],interact:2,mkdir:[],system:[0,1],messag:4,statement:[0,1],termin:7,store:2,listen:[0,6,1,2],shell:1,consol:4,option:[0,5,4],especi:2,namespac:2,tool:[3,5,4,2],copi:[4,7],park:5,specifi:[1,4],hut:5,compressor:4,part:[4,2],mostli:2,haven:5,png:5,serv:[1,2],kind:3,mapserv_c2corg:5,provid:[0,1,2,3,4,5,6],tree:2,structur:2,project:0,test_countri:1,browser:[1,5,4,2,7],latitud:0,basecontrol:1,comput:7,ani:[3,5,7,2],packag:[4,2,7],xmln:4,pylon:7,have:[0,5,7,2],tabl:[6,1,2],need:[0,1,4,2],scale_factor:0,properli:4,element:4,saw:[0,2],engin:[6,1,2],built:4,lib:[0,5,4,2],inform:[0,2],rout:[1,5],sandbox:7,port:[1,2],note:[0,5,4,2,1],also:[6,7,2],exampl:[6,5,7,2],lonlat:4,build:[3,4,2],which:[1,2],combin:6,singl:[5,4],simplifi:6,begin:[4,2],sure:[],distribut:2,normal:[],setuptool:7,previou:[0,4],compress:4,most:2,regular:2,deploi:[7,2],the_geom:[6,1],"class":[0,5,2,4,1,6],"_build":7,requir:[6,5,7],don:[1,5,4],slider:2,url:[0,5,1],doc:[0,6,5,2,1],later:[5,2],request:[0,6,1,4,2],ext:[4,2],axi:0,camptocamp:[3,5,7],show:[0,1,4],api:[6,1],text:[4,2],verbos:4,session:1,shp2pgsql:1,corner:4,lemoin:3,autoload:[6,1],involv:[6,5],onli:[1,6,5,4],locat:7,execut:[6,2],configur:[0,5,2,4,1,6],apach:7,should:[0,5,2,4,1,7],rico:4,theme:4,folder:[1,4,2,7],contribut:5,variou:2,get:[0,1,2,3,4,5,6,7],express:3,watch:1,autom:2,cannot:[7,2],tcp:2,toolbox:2,him:2,restart:1,layout:2,shp:1,mapper:[6,1],bat:[],bar:5,enabl:[0,1,7],organ:5,jstool:4,y_0:0,reload:[1,5,4,2],common:3,contain:[1,4,2],attribut:[3,1],where:[1,4,2],view:[7,2],countries_t:[6,1],set:[1,6,5],knowledg:6,mapfish_cli:[7,2],see:[0,5,2,4,1,6],getfirebug:7,result:[0,4],respons:[0,6,1,7,2],transpar:5,stop:2,correctli:7,databas:[0,6,1,2,3],review:2,label:6,c2c:5,written:5,won:2,moullet:3,between:1,"import":[1,4],equiv:4,paster:[1,7,2],popup:[0,6],javascript:[3,5,4,2,7],layerstor:2,extens:[3,7],job:[6,1],entir:2,extent:5,come:2,popul:[0,1,2],disclaim:3,last:[4,2],plugin:[4,7],etc:[4,2],tour:2,instanc:[5,4,2],logic:[6,1],countri:[0,6,1],com:[7,2],column_properti:6,comment:[1,4],point:[1,5,4,2],sercic:6,non:[1,5,4],framework:[1,4,2,7],path:4,typic:2,assum:[7,2],compos:2,empti:[1,5],compon:2,json:[6,1,7],workshop:[0,7,4,2,3],toolbar:[5,2],modif:6,addit:6,polygon:5,artemkhodush:2,both:1,"__table__":[6,1],imag:5,no_def:0,argument:2,coordin:1,minifi:[4,2],togeth:5,x_0:0,shapefil:1,those:2,"case":[0,1],mapfishapp_layout:[0,5,4,2],look:[0,5,4,2,7],servic:[0,1,2,3,5,6],properti:[6,1,4],sourceforg:[],defin:[1,2],triggereventdecor:4,abov:[4,2],error:4,xtheme:4,ini:[1,2],openstreetmap:2,layer:[3,5,2,4,1,6],lon_0:0,file:[0,5,4,2,1],ctrl:2,readi:[1,2],"null":0,wkb:6,readm:4,site:[5,7],filename2:4,itself:2,uncom:4,limit:1,tediou:2,"__init__":1,mako:2,treepanel:2,develop:[6,1,2],author:[0,3],perform:4,parti:2,make:[0,5,2],belong:1,minif:2,same:7,proce:2,html:[0,5,2,4,1,6,7],decod:6,output_dir:4,singletil:5,pai:1,grahic:2,document:[0,7,2,3],infer:2,http:[0,5,2,4,1,6,7],utf8:4,driver:1,mapfishapp_init:[4,2],"c\u00e9dric":3,lat_t:0,climb:5,tune:1,iceweasel:7,task:[0,6,5,2,1],pylons_minim:7,mention:2,entri:[4,2],nadgrid:0,bugzilla:4,without:[3,4],command:[1,4,2,7],basic_packag:7,thi:[0,5,2,4,1,6,7],choos:2,model:[6,1,2],self:[6,1],load:[6,4,2,7],identifi:1,paus:0,just:[0,4,2],jsbuild:[4,2],basetyp:4,pywin32:[],rest:[1,2],select:6,kill:1,aspect:2,mysql:1,languag:4,web:[0,1,2,3,6,7],xmlhttprequest:4,greenwich:0,expos:2,displaydefaultpopup:0,add:[0,5,7,2,1],east:0,openjsan:2,modul:[0,1,2,3,4,5,6,7],take:[1,5,2],bin:[5,7],applic:[3,5,2,4,1,6,7],australia:5,template_postgi:[],format:[1,6,5],read:1,zoomout:5,grid:5,know:[0,5,4],librairi:2,world:0,licens:3,python2:7,insert:0,like:[0,5,4,2,7],specif:[1,5,2],zoom:[0,5,2],server:2,collect:1,href:4,necessari:2,either:3,output:[4,7],page:[7,2],www:[0,5,2,4,1,6,7],right:[],often:2,allowdepress:5,some:[1,2],back:2,contin:6,sampl:2,spheroid:0,mapfish:[0,1,2,3,4,5,6,7],proper:4,home:[7,2],librari:[0,5,2],googl:[0,5,4],mappanel:2,protocol:[6,1,4],biest:3,substitut:1,exit:4,proj:0,toolkit:6,localhost:[1,4,2,7],refer:6,cgi:[5,4],core:[0,1,4],object:[0,6,5,2,1],run:[0,4,2],power:6,uncompress:4,gmflocat:4,usag:4,step:[1,7],srid:0,post:1,after:[1,5,4],panel:2,src:[4,2],about:[0,5,4,2],actual:[5,4,2],would:5,column:[6,1],materi:[3,7],extj:2,pgadmin:1,degre:0,act:2,produc:4,compare_filt:6,client:[0,4,2,7],own:2,bound:4,automat:2,three:1,warranti:3,creativ:3,orm:6,auth_nam:0,wrap:0,openlay:[0,5,4,2],merc:0,your:[0,5,2,4,1,7],libgeo:7,merg:4,van:3,support:1,hex:6,live:[],overwrit:2,custom:[3,6,5,2,1],avail:7,start:[3,1,7,2],reli:[0,1,2],trigger:0,interfac:[0,5,4,2],includ:[6,1,4,2],replac:[6,1],"var":4,"function":[0,1,2,3,4,5,6],reduc:4,head:4,central_meridian:0,north:0,form:4,basic:[7,2],sqlalchemi:[6,1,2],link:4,line:[1,2],"true":[1,6,5,2],bug:4,viewport:2,info:4,possibl:4,clearli:2,checkout:[],displai:[0,6,5],record:1,geomcolumn:1,"export":7,featur:[6,1],creat:[0,1,2,3,4,5,6,7],dure:2,repres:[1,2],mainli:2,exist:1,firebug:[4,7],false_north:0,curl:7,check:[1,4,2,7],again:[1,5,2],readonli:1,layercontain:2,todo:[],user:[0,5,4,2],when:[0,1,2],virtual:[4,7],"default":[6,5,4,2],other:[4,2,7],spatial:1,test:[1,2],you:[0,5,2,4,1,6,7],node:2,draw:[6,5],mozilla:[4,7],"public":[4,2],sql:[6,1],geodet:0,debian:7,concat:4,stai:1,lang:4,searcher:[0,6,4],receiv:[6,1],directori:[4,7],single_fil:4,space:1,descript:1,summit:5,time:[1,4,2],push:5,profil:[3,4,2]},titles:["Module 6 - Adding search functionality","Module 5 - Creating Web Services","Module 2 - Creating Application","MapFish Workshop","Module 4 - Building JavaScript","Module 3 - Customizing the Application","Module 7 - Customizing the web service","Module 1 - Getting Started"],modules:{},descrefs:{},filenames:["adding_search_functionality","creating_webservice","creating_application","index","building_javascript","customizing_application","customizing_webservice","getting_started"]}) 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/building_javascript.txt

    r3381 r3396  
    1616You can check that ``jsbuild`` is properly installed by running this command:: 
    1717 
    18     (env) env/bin/jsbuild --help 
     18    (env) $ jsbuild --help 
    1919 
    2020It should produce this output:: 
    2121 
    22     Usage: jsbuild-script.py [options] filename1.cfg [filename2.cfg...] 
     22    Usage: jsbuild [options] filename1.cfg [filename2.cfg...] 
    2323 
    2424    Options: 
     
    110110You can now launch the build command:: 
    111111 
    112     (env) cd MapFishApp/jsbuild 
    113     (env) /home/live/mapfish/env/bin/jsbuild -o ../mapfishapp/public/build/mapfish app.cfg 
     112    (env) $ cd MapFishApp/jsbuild 
     113    (env) $ jsbuild -o ../mapfishapp/public/build/mapfish app.cfg 
    114114 
    115115After a small while, the output should be:: 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/creating_application.txt

    r3381 r3396  
    1414To create a MapFish application use:: 
    1515 
    16     <env> paster create -t mapfish MapFishApp 
     16    (env) $ paster create -t mapfish MapFishApp 
    1717 
    1818``MapFishApp`` is the name of the MapFish application you're creating, you can 
     
    3131the ``MapFishApp`` folder and start the application:: 
    3232 
    33     <env> $ cd MapFishApp 
    34     <env> $ paster serve development.ini 
     33    (env) $ cd MapFishApp 
     34    (env) $ paster serve development.ini 
    3535 
    3636This command starts your application in the Paster web server, which is a 
     
    5959commands:: 
    6060 
    61     <env> cd .. 
    62     <env> paster create -t mapfish_client MapFishApp 
     61    (env) $ cd .. 
     62    (env) $ paster create -t mapfish_client MapFishApp 
    6363 
    6464When asked whether to overwrite ``index.html`` answer ``y``. This will 
     
    6868Start the application again:: 
    6969 
    70     <env> cd MapFishApp 
    71     <env> paster serve --reload development.ini 
     70    (env) $ cd MapFishApp 
     71    (env) $ paster serve --reload development.ini 
    7272 
    7373.. note:: 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/creating_webservice.txt

    r3394 r3396  
    3131    CREATE DATABASE mapfish_workshop TEMPLATE=postgis_template; 
    3232 
    33 Then, open the explorer, go into the ``/home/live/mapfish/mapfish_workshop_fossgis2010/data`` 
     33Then, open the explorer, go into the ``~/mapfish/mapfish_workshop_fossgis2010/data`` 
    3434folder and extract the ``countries.zip`` file. And enter the following commands 
    3535to import the ``countries`` Shapefile as a table named ``countries`` in the 
    3636``mapfish_workshop`` database:: 
    3737     
    38     cd /home/live/mapfish/mapfish_workshop_fossgis2010/data 
    39     ~mapfish/mapfish_workshop_fossgis2010/data$ shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres 
     38    cd ~/mapfish/mapfish_workshop_fossgis2010/data 
     39    shp2pgsql -s 4326 -I countries.shp countries | psql -d mapfish_workshop -U postgres 
    4040 
    4141You can start pgAdmin and connect to the ``mapfish_workshop`` database to check 
     
    5454by this one:: 
    5555 
    56     sqlalchemy.url = postgres://postgres:postgres@localhost:5433/mapfish_workshop 
     56    sqlalchemy.url = postgres://postgres:postgres@localhost:5432/mapfish_workshop 
    5757 
    5858The connection string specifies that the ``postgres`` driver must be used, the 
    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) 
     59database system listens on ``localhost`` and on ``port`` 5432, and the name of 
     60the database is ``mapfish_workshop``. 
    6161 
    6262Creating web service 
     
    85852. generate the web service code with the ``mf-layer`` command:: 
    8686 
    87     <env> ~mapfish/MapFishApp>paster mf-layer countries 
     87    (env) $ paster mf-layer countries 
    8888 
    89893. configure a route to the ``countries`` controller, this is done by adding 
     
    9898restart ``MapFishApp`` with:: 
    9999 
    100     <env> ~mapfish/MapFishApp>paster serve --reload development.ini 
     100    (env) $ paster serve --reload development.ini 
    101101 
    102102You can now open http://localhost:5000/countries?limit=1 in your browser, you 
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/getting_started.txt

    r3395 r3396  
    7474 
    7575.. [#] http://getfirebug.com/ 
    76 .. [#] https://addons.mozilla.org/de/firefox/addons/versions/1843 
     76.. [#] https://addons.mozilla.org/en-US/firefox/addon/1843 
    7777.. [#] https://addons.mozilla.org/en-US/firefox/addon/10869