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![]()
- 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
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
- Go to Help -> Install New Software
- Under Work with type: http://pydev.org/updates
, press Add...
- Give a name for the location
- Select the PyDev Package, Press Next >
- Press Next > in the next window
- Accept the License agreement, and press Finish
- Trust any certificates
- Restart Eclipse when prompted





