- Download and install the Postgres.app program. (Skip to step 3 if you already know you have Postgres installed on your Mac)
- Add the Postgres.app
psql
to your$PATH
:export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin
docs - In Terminal,
cd
to the folder of your Heroku project, and runheroku pg:psql
- You should now be in an interactive PSQL session, by default Heroku will connect to the promoted database set as the config var
DATABASE_URL
.
Created
April 28, 2015 13:47
-
-
Save sklise/88f4e1187e0926b2f7bf to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment