Skip to content

Commit

Permalink
Auto extract portal uri in test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
d-mo committed Sep 27, 2018
1 parent 9e8e02b commit e8a64f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
MIST_URI=${MIST_URI:-$(python settings/settings.py)}
MIST_URI=${MIST_URI:-$(echo $"$(cat settings/settings.py)" $'\nprint(globals().get("CORE_URI"))'|python)}
CID=$(docker ps |grep api_|cut -d " " -f1)
DOCKER_NETWORK=$(docker ps --format "{{.ID}} {{.Networks}}"|grep $CID|cut -d ' ' -f2)
docker run -p 5900:5900 -p 8222:8222 --rm -it \
Expand Down

0 comments on commit e8a64f9

Please sign in to comment.