Move things to slightly more sensible locations

This commit is contained in:
2018-11-24 12:58:16 +00:00
parent bdcc5363fc
commit 0e886181e2
2 changed files with 0 additions and 0 deletions

6
scripts/production-dbshell.sh Executable file
View File

@ -0,0 +1,6 @@
#!/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