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)
2 Install and Configure Python
Install Python using installation wizard
Add the Python path to your computer:
My Computer > System Properties > Advanced > Environment Variables.
Find “Path” from the list and click on Edit
Add C:\Python25 to the end of the list.
2.1 Required Python packages
Download and install the following packages:
Name | URL | Version |
|---|---|---|
Image | PIL 1.1.5 | |
libxml2 libxslt | http://xmlsoft.org/python.html http://users.skynet.be | libxml 2.6.30+, libxslt 1.1.22+ for python 2.5 |
pysvn | PySVN 1.5.3 for python 2.5 and svn 1.4.6 installation kit | |
Cheetah templates | 2.0.1 | |
PyLucene | 2.1.0 for Python25 | |
Paste |
| |
Gdata | (Required for Atom Publishing) | |
py2exe | 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
When the document loads select enable macros.
From the menubar select ICE...Change port
Enter 2002
Close the document and restart the application
4 Source code
Checkout the source code:
svn co http://ice.usq.edu.au/svn/ice/trunk/apps ice-source
Run ICE from the source
cd ice-source/apps/ice python ice2.py
5 Configure ICE
5.1 Add a SVN repository
Start the ICE server
Go to Start…Program Files…ICE 2.0…ICE server
Go to http://localhost:8000, the ‘Config editor’ page will load
Enter a SVN URL in the ‘New repository URL:’ field or fill in the information required under ‘Advanced repository settings’
Click ‘Save’ and then click ‘Close editor’.
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.
Create a folder called ‘templates’ in the root of your repository. For example if your content was located in
c:\ICE\MyFilesmake the directoryc:\ICE\MyFiles\templatesDownload 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.
