Skip to content

Commit 9609830

Browse files
committed
Move curl command example to end of run.sh
So users actually notice it when the script is done executing
1 parent 5371c76 commit 9609830

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

run.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ cyan='\033[0;36m'
44
blue='\033[0;34m'
55
NC='\033[0m' # No Color
66

7-
# get boot2docker host ip
8-
HOST_IP=$(boot2docker ip)
9-
107
echo "${cyan}Stopping the backend container and removing its image...${NC}"
118
docker rm -f backend &>/dev/null
129
docker rmi -f backend-image &>/dev/null
@@ -59,12 +56,12 @@ for PROXY_DIR in hosts/proxy/*; do
5956
docker run --name "proxy-$PROXY_NAME" -d -p $HOST_PORT:80 --link backend:backend "proxy-$PROXY_NAME-image"
6057
done
6158

62-
echo "${cyan}Proxy:${NC}"
63-
echo curl http://$HOST_IP
64-
6559
echo "${cyan}Running integration tests:${NC}"
6660
cd test
6761
# make sure npm packages are installed
6862
npm install
6963
# run tests
7064
npm test
65+
66+
echo "${cyan}Proxy:${NC}"
67+
echo curl http://$(boot2docker ip)

0 commit comments

Comments
 (0)