Skip to content

Commit

Permalink
Set up postgres password and role on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed May 2, 2011
1 parent 2ec187b commit fa3ade6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -29,6 +29,16 @@ Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ubuntu )

Set your postgres password:

sudo -u postgres psql postgres
\password postgres
<Ctrl+D>

Give your user a postgres role:
sudo -u postgres createuser --no-superuser --createdb --no-createrole --login --pwprompt --encrypted -h 127.0.0.1 -p 5432 `whoami`


What it sets up
---------------

Expand Down

0 comments on commit fa3ade6

Please sign in to comment.