Skip to content

Commit fc2bf4c

Browse files
committed
Update to use pgpass file since password env var doesn't work anymore
1 parent 789ab10 commit fc2bf4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ hascaptions:
126126

127127
export COMPOSE_PROJECT_NAME=studio_$(shell git rev-parse --abbrev-ref HEAD)
128128

129-
purge-postgres:
130-
-PGPASSWORD=kolibri dropdb -U learningequality "kolibri-studio" --port 5432 -h localhost
131-
PGPASSWORD=kolibri createdb -U learningequality "kolibri-studio" --port 5432 -h localhost
129+
purge-postgres: .docker/pgpass
130+
-PGPASSFILE=.docker/pgpass dropdb -U learningequality "kolibri-studio" --port 5432 -h localhost
131+
PGPASSFILE=.docker/pgpass createdb -U learningequality "kolibri-studio" --port 5432 -h localhost
132132

133133
destroy-and-recreate-database: purge-postgres setup
134134

0 commit comments

Comments
 (0)