Manual Install Howto

Introduction

This document will aid you to install EzWeb step by step.

First steps

Before starting to install EzWeb you need some well known software packages

  • Python 2.5 or greater
  • Django SVN repository version (> 0.96)
  • Apache Web Server version 2 (>= 2.0)
  • mod-python for Apache 2
  • Python XML

Also, if you want to use PostgreSQL DBMS you will need

  • PostgreSQL
  • Psycopg (pg connector for Python)

If you choose SQLite

  • SQLite 3
  • Python SQLite 3 connector

Settings

For PostgreSQL:

  • DATABASE_ENGINE = 'postgresql'

For MySQL:

  • DATABASE_ENGINE = 'mysql'
  • DATABASE_OPTIONS = {"init_command": "SET storage_engine=InnoDB"}

Installation

First of all, obtain a copy of EzWeb from SVN repository. The source code you need is at ezweb_platform/src/trunk.

   $ mkdir /my/install/directory
   $ cd /my/install/directory
   $ svn co https://svn.forge.morfeo-project.org/ezwebplatform/ezweb_platform/src/trunk
   $ mv trunk EzWeb # rename the trunk directory to project name

Now checkout the django-rest-api

   $ svn checkout http://django-rest-interface.googlecode.com/svn/trunk/ django-rest-interface/django-rest-api
   $ mv django-rest-interface/django-rest-api EzWeb/
   $ rm -rf django-rest-interface

Go to EzWeb directory and edit the settings file

   $ cd EzWeb
   $ vim settings.py

When settings are configured, create the database layout

   $ python manage.py syncdb

To check if EzWeb works, test it

   $ python manage.py runserver

(open your web browser and go to http://localhost:8000/)