Skip to content

Commit

Permalink
Updated sql script for heroku database
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldNordgren committed Jun 23, 2016
1 parent 4733dac commit 25c59e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sql/scripts/postgres.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

export PGPASSWORD=admin
psql -U postgres -h localhost -d odds_data
#self.connection = psycopg2.connect(host='ec2-54-83-198-111.compute-1.amazonaws.com', user='pjormmuewnnkwm', password='tf5q17_nrEOswfolbd3PS6wmNF', dbname='da3j6ejvc5arr0', port=5432)

export PGPASSWORD='tf5q17_nrEOswfolbd3PS6wmNF'
psql -U 'pjormmuewnnkwm' -h 'ec2-54-83-198-111.compute-1.amazonaws.com' -d 'da3j6ejvc5arr0' -p 5432

0 comments on commit 25c59e1

Please sign in to comment.