Commit 56c16c61 authored by Huihui, Jonathan's avatar Huihui, Jonathan
Browse files

test db connection

parent 82817b49
Loading
Loading
Loading
Loading

src/scripts/db_env

0 → 100644
+6 −0
Original line number Diff line number Diff line
DATABASE_DB=postgres
DATABASE_HOST=localhost
DATABASE_PORT=5532
MAX_RETRIES=60
DATABASE_USER=postgres
DATABASE_PW=postgres
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
# eval $(cat db_env) ./test-db-conn 

MAX_RETRIES=60
while :; do
  case $1 in