
----
{cagridroundpanel}
{pre:class=cagridheaderfont}Table of Contents{pre}
{toc:outline=false|exclude=Part 1 : Download and Install Software|style=bullets}
{cagridroundpanel}
This tutorial assumes you have Java 6, caGrid 1.4 and Eclipse installed.
h1. 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
# Run the installer jar: jython_installer-2.5.2.jar
# Go through the installation wizard, and select the standard installation
# Make sure you add the jython location in the PATH
h1. 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
{noformat}
> tar xzvf Django-1.2.5.tar.gz
> cd Django-1.2.5
> jython setup.py install
{noformat}
h1. 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
{noformat}
> tar xzvf django-jython-1.2.0b1.tar.gz
> cd django-jython-1.2.0b1
> jython setup.py install
{noformat}
h1. 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:
{noformat}
> sudo -u postgres createdb mydatabase
> Password:<give root password>
> Password:<give postgres password>
{noformat}
h1. Step 5: Install PyDev plugin for Eclipse
# Go to *Help -> Install New Software*
# Under *Work with* type: http://pydev.org/updates, press *Add...*
{gallery:include=Screen shot 2011-11-14 at 1.28.26 PM.png}
# Give a name for the location
# Select the PyDev Package, Press *Next >*
{gallery:include=Screen shot 2011-11-14 at 1.31.10 PM.png}
# Press *Next >* in the next window
# Accept the License agreement, and press *Finish*
# Trust any certificates
{gallery:include=Screen shot 2011-11-14 at 1.33.12 PM.png}
# Restart Eclipse when prompted
{scrollbar}