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