aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/play.sh
blob: 33dc1a54515a79b2eb84fdb3e49bb8afa0ca6f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

if [ ! -f server.js ]; then
  echo "Missing server file (server.js)."
  exit -1
fi

for i in 1 2 3; do
  NODE_ENV=test NODE_APP_INSTANCE=$i node server.js &
  sleep 1
done