Postgres 101
Replicate Brett's Setup for OSX
-
Download Postgres.app
-
You should already have a user installed under your username. You can test by:
% psql
psql (9.4.5)
Type "help" for help.
brettcassette=# \du
List of roles
Role name | Attributes | Member of
---------------+------------------------------------------------+-----------
brettcassette | Superuser, Create role, Create DB, Replication | {}
- Create a test database for fooling around with
createdb postgres_101
-
Download SQL Pro for Postgres
-
In SQL Pro, configure a new connection:
Alias: Postgres 101
Server Host: 127.0.0.1
Login: your-username
Password: probably-blank
Server Port: 5432
Database: postgres_101
- Login to your database in SQL Pro. You're ready to start!