Changes between Version 31 and Version 32 of SetupOnTiger


Ignore:
Timestamp:
Jul 19, 2009, 12:15:43 PM (15 years ago)
Author:
sedibr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SetupOnTiger

    v31 v32  
    100100
    101101$ .schema
     102=== Using Postgres Databases in Django 1.0 and Mac OSX Leopard ===
     103Writen by sedibr
     104
     105After install Django, install the bundle Postgres Plus, from http://www.enterprisedb.com/products/postgres_plus/download.do.
     106The package provides Postgress Core installation plus a couple of very usefull GUI tools.
     107
     108As mentioned before, you should set some ''ENVIRONMENT'' variables. This is an example for PostgresPlus 8.3 package:
     109Add {{{export PATH=/Library/PostgresPlus/8.3/bin:$PATH}}} and {{{export MANPATH=/Library/PostgresPlus/8.3/man:$MANPATH}}} to {{{~/.profile}}}
     110Add {{{export PGDATA=/Library/PostgresPlus/8.3/data}}} to {{{~/.profile}}}
     111
     112Download and build ''psycopg'' as stated above. In your ''settings.py'' file choose ''postgresql_psycopg2'' adapter to your database.
Back to Top