]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/play.sh
Add delete button to my videos
[github/Chocobozzz/PeerTube.git] / scripts / play.sh
1 #!/usr/bin/env sh
2
3 if [ ! -f "dist/server.js" ]; then
4 echo "Missing server file (server.js)."
5 exit -1
6 fi
7
8 max=${1:-3}
9
10 for i in $(seq 1 $max); do
11 NODE_ENV=test NODE_APP_INSTANCE=$i node dist/server.js &
12 sleep 1
13 done