7 lines
240 B
Bash
Executable File
7 lines
240 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export PGPASSWORD=$(grep "POSTGRES_PASSWORD" /production/ojuso-map/environment | cut -d= -f2-)
|
|
PGUSER=$(grep "POSTGRES_USER" /production/ojuso-map/environment | cut -d= -f2-)
|
|
|
|
psql --host=127.0.0.1 --port=5432 --username=$PGUSER
|