Changeset 3396 for sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/creating_application.html
- Timestamp:
- 03/05/10 11:55:17 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/_build/html/creating_application.html
r3393 r3396 56 56 <h3>Generating the base<a class="headerlink" href="#generating-the-base" title="Permalink to this headline">¶</a></h3> 57 57 <p>To create a MapFish application use:</p> 58 <div class="highlight-python"><pre> <env>paster create -t mapfish MapFishApp</pre>58 <div class="highlight-python"><pre>(env) $ paster create -t mapfish MapFishApp</pre> 59 59 </div> 60 60 <p><tt class="docutils literal"><span class="pre">MapFishApp</span></tt> is the name of the MapFish application you’re creating, you can … … 69 69 <p>Now is the time to check that your MapFish application works. For this go into 70 70 the <tt class="docutils literal"><span class="pre">MapFishApp</span></tt> folder and start the application:</p> 71 <div class="highlight-python"><pre> <env>$ cd MapFishApp72 <env>$ paster serve development.ini</pre>71 <div class="highlight-python"><pre>(env) $ cd MapFishApp 72 (env) $ paster serve development.ini</pre> 73 73 </div> 74 74 <p>This command starts your application in the Paster web server, which is a … … 91 91 <p>Enter <tt class="docutils literal"><span class="pre">Ctrl+C</span></tt> to stop the Paster server and proceed with these 92 92 commands:</p> 93 <div class="highlight-python"><pre> <env>cd ..94 <env>paster create -t mapfish_client MapFishApp</pre>93 <div class="highlight-python"><pre>(env) $ cd .. 94 (env) $ paster create -t mapfish_client MapFishApp</pre> 95 95 </div> 96 96 <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 … … 98 98 provided by the <tt class="docutils literal"><span class="pre">mapfish_client</span></tt> template.</p> 99 99 <p>Start the application again:</p> 100 <div class="highlight-python"><pre> <env>cd MapFishApp101 <env>paster serve --reload development.ini</pre>100 <div class="highlight-python"><pre>(env) $ cd MapFishApp 101 (env) $ paster serve --reload development.ini</pre> 102 102 </div> 103 103 <div class="admonition note"> … … 401 401 <div class="footer"> 402 402 © 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. 404 404 </div> 405 405 </body>
