Skip to content

Commit

Permalink
Resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
zmalkmus committed Dec 15, 2023
2 parents ea4650c + edc350d commit f717c5c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ piptrustedhost=
[ -f env.sh ] && . env.sh

build() {
# Set Agvis Branch
local BRANCH_NAME=master
if [ "$1" ]; then
BRANCH_NAME=$1
fi

# Clone ANDES and DiME if they don't exist
if [ ! -d "../andes" ]; then
echo "Cloning ANDES repository..."
Expand All @@ -41,6 +47,7 @@ build() {
${target:+--target $target} \
${pipindex:+--build-arg PIP_INDEX_URL=$pipindex} \
${piptrustedhost:+--build-arg PIP_TRUSTED_HOST=$piptrustedhost} \
--build-arg BRANCH_NAME=$BRANCH_NAME \
-t $tag .
}

Expand Down Expand Up @@ -184,7 +191,7 @@ dev-benchmark() {
}

dev() {
google-chrome --incognito http://localhost:8810/ 2> /dev/null > /dev/null &!
google-chrome --incognito http://localhost:8810/ 2> /dev/null > /dev/null &

tmux split-window -v
tmux split-window -v
Expand All @@ -205,11 +212,11 @@ dime-cygwin() {
####################################################################################################

# dev-cygwin() {
# google-chrome --incognito http://localhost:8810/ 2> /dev/null > /dev/null &!
# google-chrome --incognito http://localhost:8810/ 2> /dev/null > /dev/null &

# mintty --exec "docker run --rm -t -v C:/cygwin64/`pwd`/static:/srv -p 8810:8810 $tag python3 -m http.server -d /srv $((port+0))" &!
# mintty --exec "docker run --rm -t -p 5000:5000 -p 8818:8818 $tag dime -vv -l tcp:5000 -l ws:$((port+8))" &!
# #mintty --exec "docker run --rm -t $tag andes -v 10 run /home/cui/wecc_vis.xlsx --dime tcp://127.0.0.1:5000 -r tds" &!
# mintty --exec "docker run --rm -t -v C:/cygwin64/`pwd`/static:/srv -p 8810:8810 $tag python3 -m http.server -d /srv $((port+0))" &
# mintty --exec "docker run --rm -t -p 5000:5000 -p 8818:8818 $tag dime -vv -l tcp:5000 -l ws:$((port+8))" &
# #mintty --exec "docker run --rm -t $tag andes -v 10 run /home/cui/wecc_vis.xlsx --dime tcp://127.0.0.1:5000 -r tds" &
# }

# http-cygwin() {
Expand Down

0 comments on commit f717c5c

Please sign in to comment.