Blog | Roadmap | Browse Source | View Tickets | Trac Login

Developers installation guide - Windows

1 Required software

You will need to install and configure the following software:

OpenOffice.org (use 2.3, see issue #87948 for more info)

Subversion (1.4.6 recommended)

Python 2.5

2 Install and Configure Python

  1. Install Python using installation wizard

  2. Add the Python path to your computer:

    1. My Computer > System Properties > Advanced > Environment Variables.

    2. Find Path from the list and click on Edit

    3. Add C:\Python25 to the end of the list.

2.1 Required Python packages

Download and install the following packages:

Name

URL

Version

Image

http://www.pythonware.com/products/pil/

PIL 1.1.5

libxml2

libxslt

http://xmlsoft.org/python.html

http://users.skynet.be
/sbi/libxml-python/binaries/
libxml2-python-2.6.30.win32-py2.5.exe

libxml 2.6.30+, libxslt 1.1.22+ for python 2.5

pysvn

http://pysvn.tigris.org/project_downloads.html

PySVN 1.5.3 for python 2.5 and svn 1.4.6 installation kit

Cheetah templates

http://www.cheetahtemplate.org/

2.0.1

PyLucene

http://pylucene.osafoundation.org/

2.1.0 for Python25

Paste

http://pythonpaste.org/download/

 

Gdata

http://code.google.com/p/gdata-python-client/downloads/list

(Required for Atom Publishing)

py2exe

http://www.py2exe.org

For python 2.5 (Required for building Binary)

2.2 Verify the packages are installed

The Python packages can be verified by:

run python
>>>import Image
>>>import libxslt
>>>import libxml2
>>>import pysvn
>>>import Cheetah
>>>import PyLucene
>>>import paste
>>>import gdata
>>>import py2exe

3 Configure OOo

  1. Open Configure OpenOffice.org

  2. When the document loads select enable macros.

  3. From the menubar select ICE...Change port

  4. Enter 2002

  5. Close the document and restart the application

4 Source code

  1. Checkout the source code:

    svn co http://ice.usq.edu.au/svn/ice/trunk/apps ice-source
  2. Run ICE from the source

    cd ice-source/apps/ice
    python ice2.py

5 Configure ICE

5.1 Add a SVN repository

  1. Start the ICE server

    Go to StartProgram FilesICE 2.0ICE server

  2. Go to http://localhost:8000, the Config editor page will load

  3. Enter a SVN URL in the New repository URL: field or fill in the information required under Advanced repository settings

  4. Click Save and then click Close editor.

  5. Enter your username and password for the SVN URL provided.

    ICE will then checkout the content from the given SVN URL.

NB: Internet Explorer (IE) may cache the login page, to resolve this set IE preferences for caching to always load new page instead of automatic.

5.2 Add document templates

Before you can create documents using ICE you will need to add some ICE templates. In order to use the ICE templates affectively also install the word processor toolbars.

  1. Create a folder called templates in the root of your repository. For example if your content was located in c:\ICE\MyFiles make the directory c:\ICE\MyFiles\templates

  2. Download either an OpenOffice.org template (Default.odt) and/or Word template (Default.doc) into the templates directory you just added. Change these files or add others into the template directory as required.

    You should now be able to create new files using the Add tab in ICE.