Created
          August 28, 2012 16:06 
        
      - 
      
- 
        Save justincaldwell/3499546 to your computer and use it in GitHub Desktop. 
    Postgres setup
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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