INSTRUCTIONS TO INSTALL IVA 1.3
================================

More documentation is available at http://www.htk.tpu.ee/iva

IVA Installation guide 0.1.2

General installation procedure consists of three steps:

See that your system has installed Python (preferrably ver.2.1) and Zope (preferrably ver. 2.6.1). Since version 2.6.1, the full installation package of Zope already includes Python 2.1 (with Large Files Support enabled, which might become handy). 
Install IVA product on your Zope server. 
Install an instance of IVA on your Zope server. 
If you have already Zope installed on your system, skip the step 1 (however, need to check the version compatibility as with Python).

Detailed guidelines for installation:

Step 1. Install Zope

Download Zope from http://www.zope.org/Products 
Unpack it to a suitable directory (e.g. /usr/local) - tar xzvf Zope-version_number.tgz -C install_directory - generally needs root permissions if to be installed into system tree. 
If wanted, change the default name of the directory (mv /usr/local/Zope-2.6.1 /usr/local/zope). This must be done before running the install script. 
Change to the created Zope directory (hereafter referred to as "Zope_directory") and run the install script - python wo_pcgi.py or if you want to use PCGI and an existing web server run w_pcgi: python w_pcgi.py Pay attention to the automatically generated password at the end of the install. Alternatively, use the following command to alter the default user and/or password: python zpasswd.py access. 
Start the Zope server - ./start & - You can modify this script to suite your needs. 
Optionally test the availability at http://localhost:8080 for Zope main page and http://localhost:8080/manage for management interface (should ask username and password). 
Step 2. Install IVA product
Download the latest IVA tarball at http://www.htk.tpu.ee/iva/download.php 
Unpack it to a temporary directory - tar xfzv iva-0.1.2.tgz 
Move created directories to zope products directory (typically /usr/local/zope/lib/python/Products) 
Restart Zope: inside the Zope Management Interface, or ZMI (typically http://localhost:8080/manage), click on Restart button under Control Panel.You can also restart Zope by stopping it from the command prompt (./stop while inside the Zope directory) and afterwards starting it over again (./start). 
Step 3. Install an instance of IVA
Log into Zope Management Interface (typically http://localhost:8080/manage) as admin. 
Create an instance of IVA by selecting IVA from pull-down menu Select type to add... 
Select settings for new IVA instance: 
ID: name to your IVA instance 
Quota: quota for user webtop in bytes (default 3 000 000) 
Lang: default language for all new users 
Add users to your IVA system: 
Go to Management > Course management > Add users. 
Enter the list of usernames and system generates the passwords. If a proposed username already exists on this Zope server, IVA adds a number to it (e.g. john1). 
Create a course: go to Management > Course management and create a new course by clicking on the Add course link. 
Add users to course: Enter the course environment by selecting the name of the course from pull-down menu on your IVA WebTop area. Then go to IVA Management area and click on User Management link in the left menu. Enroll selected users to the course as teachers (or students). Teachers can later add (more) students by themselves. 

