Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2018-10-10 01:23:13 +00:00
commit ad5acf91a9

6
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