Access Keys:
Skip to content (Access Key - 0)

Knowledgebase

Part 1 : Download and Install Software


Table of Contents

This tutorial assumes you have Java 6, caGrid 1.4 and Eclipse installed.

Step 1: Install Jython

The current version of Jython is 2.5.2. You can download the installer jar from http://sourceforge.net/projects/jython/files/jython/2.5.2/jython_installer-2.5.2.jar/download

  1. Run the installer jar: jython_installer-2.5.2.jar
  2. Go through the installation wizard, and select the standard installation
  3. Make sure you add the jython location in the PATH

Step 2: Install Django

For this project you need Django 1.2.5, not the current Django 1.3
You can download it from https://www.djangoproject.com/download/1.2.5/tarball/

Do the following instructions on the terminal

> tar xzvf Django-1.2.5.tar.gz
> cd Django-1.2.5
> jython setup.py install

Step 3: Install Django-Jython

For this project you need Django-Jython 1.2, not the current Django-Jython 1.3
You can download it from http://django-jython.googlecode.com/files/django-jython-1.2.0b1.tar.gz

Do the following instructions on the terminal

> tar xzvf django-jython-1.2.0b1.tar.gz
> cd django-jython-1.2.0b1
> jython setup.py install

Step 4: Install PostgreSQL

The current version of PostgreSQL is 9.1, but at the time of starting this project it was 9.0, so that version is used here.
You can download PostgreSQL from here: http://www.postgresql.org/download/
Make sure to add the PostgreSQL location in the PATH

Create the database that will be used in this project with the instruction:

> sudo -u postgres createdb mydatabase
> Password:<give root password>
> Password:<give postgres password>

Step 5: Install PyDev plugin for Eclipse

  1. Go to Help -> Install New Software
  2. Under Work with type: http://pydev.org/updates, press Add...
  3. Give a name for the location
  4. Select the PyDev Package, Press Next >
  5. Press Next > in the next window
  6. Accept the License agreement, and press Finish
  7. Trust any certificates
  8. Restart Eclipse when prompted
Last edited by
Saba Bokhari (549 days ago)
Adaptavist Theme Builder Powered by Atlassian Confluence