Skip to content

Instantly share code, notes, and snippets.

@javathought
Created December 12, 2016 21:36
Show Gist options
  • Save javathought/e6213a9a3b46dad6b015e94e5d73a5f8 to your computer and use it in GitHub Desktop.
Save javathought/e6213a9a3b46dad6b015e94e5d73a5f8 to your computer and use it in GitHub Desktop.
local PostgreSQL cons before Heroku deploy
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