aboutsummaryrefslogtreecommitdiff
path: root/server/test.sh
blob: 8ca1d4266b5cd9b3caf2b86a3f16db2aebc2320e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
trap "kill 0" EXIT
go build
./server -b :4200 -d http://localhost:4200 &
for i in $(seq 1 9)
do
    sleep 0.1
	./server -b :420$i -d http://localhost:420$i -i http://localhost:420$((i-1)) &
done
wait