Skip to content

Instantly share code, notes, and snippets.

@justincaldwell
Created August 28, 2012 16:06
Show Gist options
  • Save justincaldwell/3499546 to your computer and use it in GitHub Desktop.
Save justincaldwell/3499546 to your computer and use it in GitHub Desktop.
Postgres setup
sudo apt-get install postgresql-9.1 postgresql-contrib-9.1 libpq-dev
sudo su postgres
psql
(from psql console)
create user ccpz with password 'ccpz';
create database ccpz OWNER ccpz ENCODING 'UTF8';
ALTER USER ccpz WITH SUPERUSER;
\q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment