-
Create PostgreSQL user with an id matching your UNIX username:
$ sudo -u postgres createuser $(whoami) -SDR
-
Create a database owned by this user:
$ sudo -u postgres createdb -E UTF-8 -O $(whoami) freenodejobs
-
Check we can connect to this database:
$ /usr/bin/psql freenodejobs
-
Create empty tables, etc.:
$ ./manage.py migrate
./setup.py test