File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ docker-wait-all:
6868docker-dev-prepare-db :
6969 # used for development
7070 $(DOCKER ) exec -T epigraphhub-superset \
71- bash /opt/EpiGraphHub/docker/postgresql/prepare-db.sh
71+ bash /opt/EpiGraphHub/docker/postgresql/dev/ prepare-db.sh
7272
7373
7474.PHONY :docker-run-cron
Original file line number Diff line number Diff line change 66
77set -ex
88
9- DOCKER_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && cd .. && pwd ) "
9+ DOCKER_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && cd ../.. && pwd ) "
1010PSQL_CONNECTION=" postgresql://${POSTGRES_USER} :${POSTGRES_PASSWORD} @${POSTGRES_HOST} :${POSTGRES_PORT} "
1111
1212echo " [II] CREATE DATABASE"
13- psql " ${PSQL_CONNECTION} /postgres" < ${DOCKER_DIR} /sql/database.sql
13+ psql " ${PSQL_CONNECTION} /postgres" < ${DOCKER_DIR} /sql/dev/ database.sql
1414
1515echo " [II] LOAD EPIGRAPHHUB DUMP"
16- psql " ${PSQL_CONNECTION} /${POSTGRES_DB } " < ${DOCKER_DIR} /sql/epigraphhub.sql
16+ psql " ${PSQL_CONNECTION} /${POSTGRES_EPIGRAPH_DB } " < ${DOCKER_DIR} /sql/dev /epigraphhub.sql
1717
1818echo " [II] LOAD PRIVATE DUMP"
19- psql " ${PSQL_CONNECTION} /${POSTGRES_DB_PRIVATE } " < ${DOCKER_DIR} /sql/privatehub.sql
19+ psql " ${PSQL_CONNECTION} /${POSTGRES_EPIGRAPH_DB_PRIVATE } " < ${DOCKER_DIR} /sql/dev /privatehub.sql
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments