]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/run_servers.sh
Remove unecessary TODO
[github/Chocobozzz/PeerTube.git] / scripts / run_servers.sh
CommitLineData
8c308c2b
C
1#!/bin/bash
2
ecef65b6
C
3if [ ! -f server.js ]; then
4 echo "The script has to be executed at the root of the project."
5 exit -1
6fi
7
8c308c2b
C
8NODE_ENV=test NODE_APP_INSTANCE=1 node server.js &
9sleep 1
10NODE_ENV=test NODE_APP_INSTANCE=2 node server.js &
11sleep 1
12NODE_ENV=test NODE_APP_INSTANCE=3 node server.js &