DjangoPostgreSQL

Installation on MacOSX

$ brew install postgresql
$ initdb /usr/local/var/postgres
cp /usr/local/Cellar/postgresql/9.0.1/org.postgresql.postgres.plist ~/Library/LaunchAgents launchctl load -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
$ sudo pip install django
$ sudo pip install psycopg2

DjangoAndPostgreSQL (last edited 2011-11-02 15:41:13 by 211)

web biohackers.net