Requirements:
> PHP 5
> PHP Data Objects (PDO) extension
> PostgreSQL 9.1
> Ext JS 3.4
> WampServer 2.0 ( to develop locally )



Instructions:
> Open PostgreSQL and Run baseproject.sql to build the database tables.

> Update server/os-config.php with your database info
  Example:
  /**
   * Database connection
   * Using PHP Data Objects (PDO)
   */
  public $DB_CONN_STRING = 'pgsql:dbname=baseproject;host=localhost;port=5432';
  public $DB_USERNAME = 'postgres';
  public $DB_PASSWORD = 'root';

> Update index.php to hook up to Ext JS 3.4.
  By default it is using CacheFly.net:
  <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.4/resources/css/ext-all-notheme.css" />
  <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4/adapter/ext/ext-base.js"></script>
  <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4/ext-all.js"></script>



To login as Admin:
Email Address: 0123456789
Password: admin



ADDITIONAL NOTES:
> Ext JS can be downloaded at: http://www.extjs.com/products/js/download.php

> PHP Data Objects (PDO) extension
  PDO ships with PHP 5.1, and is available as a PECL extension for
  PHP 5.0; PDO requires the new OO features in the core of PHP 5,
  and so will not run with earlier versions of PHP. 

  A "PDO database abstraction interface for PHP 4" can be found here:
  http://www.phpclasses.org/browse/package/2572.html

  sudo apt-get install php5-pgsql

PG DUMP
pg_dump -U postgres baseproject --inserts -O -c -f /var/www/baseproject/database/baseproject_0506131132.sql