Fix path to backend

This commit is contained in:
Amarpreet Minhas 2019-05-27 14:25:36 -04:00
parent 9f01ec25da
commit 0fc950352c

View file

@ -3,7 +3,7 @@ docker stop sudosci-db
docker rm sudosci-db docker rm sudosci-db
export DB_ADMIN_PW=test export DB_ADMIN_PW=test
docker run --name sudosci-db -e POSTGRES_PASWORD=${DB_ADMIN_PW} -d postgres docker run --name sudosci-db -e POSTGRES_PASWORD=${DB_ADMIN_PW} -d postgres
cd ${GOPATH}/src/git.minhas.io/asara/sudoscientist cd ${GOPATH}/src/git.minhas.io/asara/sudoscientist-go-backend
for i in settings/*; do source $i; done for i in settings/*; do source $i; done
export DB_HOST=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" sudosci-db) export DB_HOST=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" sudosci-db)
# instance takes a while to setup and configure postgis # instance takes a while to setup and configure postgis