Created
December 12, 2016 21:36
-
-
Save javathought/e6213a9a3b46dad6b015e94e5d73a5f8 to your computer and use it in GitHub Desktop.
local PostgreSQL cons before Heroku deploy
This file contains 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
export DATABASE_URL=jdbc:postgresql://localhost/$(whoami) | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment