Skip to content
Paulo McNally edited this page Feb 12, 2015 · 1 revision

Local / Virtual Machine

Save DATABASE_URL to .bash_profile.

Replace user, password, localhost, database.

echo 'export DATABASE_URL=postgres://user:password@localhost:5432/database' >>~/.bash_profile

Heroku

heroku addons:add heroku-postgresql:dev

Clone this wiki locally