Show
Ignore:
Timestamp:
03/02/10 06:00:29 (2 years ago)
Author:
cmoullet
Message:

Update getting started for Ubuntu

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/camptocamp/mapfish_workshop_fossgis2010/printing_src/getting_started.txt

    r3378 r3380  
    22========================== 
    33 
    4 Start by creating a folder named ``MapFish`` in the ``C:\`` folder, this will 
     4Start by creating a folder named ``mapfish`` in the ``/home/live`` folder, this will 
    55be your working folder for this workshop. 
    66 
     
    99 
    1010Get the Workshop material by checking out 
    11 http://www.mapfish.org/svn/mapfish/sandbox/camptocamp/mapfish_workshop with 
    12 Turtoise SVN.  For this open the explorer, go into ``C:\MapFish``, right-click 
    13 in the explorer window, choose ``SVN Checkout...``, enter the above URL, check 
    14 that the `Checkout directory` is ``C:\MapFish\mapfish_workshop``, and click 
    15 ``OK``. 
     11http://www.mapfish.org/svn/mapfish/sandbox/camptocamp/mapfish_workshop_fossgis2010/ with svn:: 
    1612 
    17 Export the ``mapfish_workshop`` folder to your Apache document root, for 
     13    svn co http://www.mapfish.org/svn/mapfish/sandbox/camptocamp/mapfish_workshop_fossgis2010/ 
     14 
     15Export the `mapfish_workshop_fossgis2010`` folder to your Apache document root, for 
    1816example by copying it in Apache's ``htdocs`` directory. You should be able to 
    19 load http://localhost/mapfish_workshop/printing in your web browser. 
     17load http://localhost/mapfish_workshop_fossgis2010/printing_src/_build/html/index.html in your web browser. 
    2018 
    2119Installing MapFish 
    2220------------------ 
    2321 
    24 To install MapFish, first make sure you've installed "Python for Windows extensions".  
    25 If not, you can get it here: http://sourceforge.net/projects/pywin32/ 
     22To install MapFish, open a terminal and first install the requirements:: 
    2623 
    27 Open a terminal command and follow these steps:: 
     24   sudo apt-get install python2.5 python2.5-dev 
     25   sudo apt-get install libgeos-3.0.0 postgresql postgis 
    2826 
    29     C:\>cd C:\MapFish 
    30     C:\MapFish>C:\Python25\python.exe mapfish_workshop\software\go-mapfish-framework-1.2.py env 
     27Then download the MapFish installer located in http://www.mapfish.org/downloads/go-mapfish-framework-1.2.py:: 
     28 
     29   cd mapfish 
     30   curl http://www.mapfish.org/downloads/go-mapfish-framework-1.2.py > go-mapfish-framework-1.2.py 
     31 
     32And follow this step:: 
     33 
     34    python25 go-mapfish-framework-1.2.py --no-site-packages env 
    3135 
    3236This command creates a virtual Python environment named ``env`` and installs 
     
    3539Now activate the virtual environment with:: 
    3640 
    37     C:\MapFish>env\Scripts\activate.bat 
     41    source env/bin/activate 
    3842 
    3943You command prompt should now look like this:: 
    4044 
    41     <env> C:\MapFish> 
     45    (env) $ 
    4246 
    4347To check that MapFish is correctly installed, enter:: 
    4448 
    45     <env> C:\MapFish>paster create --list-templates 
     49    (env) $ paster create --list-templates 
    4650 
    4751and check that the output is:: 
     
    5862----------------------------- 
    5963 
    60 It is recommended that you use FireFox and install `Firebug 
    61 <http://getfirebug.com/>`_ [#]_. Firebug is an add-on for Firefox that allows 
    62 you to debug JavaScript in any web page. Firebug requires Firefox and cannot be 
     64It is recommended that you use FireFox/Iceweasel and install `Firebug 
     65<http://getfirebug.com/>`_ [#]_ (Use version 1.4.5 for FireFox/Iceweasel 3.0). Firebug is an add-on for FireFox/Iceweasel that allows 
     66you to debug JavaScript in any web page. Firebug requires FireFox/Iceweasel and cannot be 
    6367used with any other web browser. Installing the `JSONView 
    6468<https://addons.mozilla.org/en-US/firefox/addon/10869>`_ extension is also