]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - bin/run_servers.sh
Decrease the size of the schemes for more readability
[github/Chocobozzz/PeerTube.git] / bin / run_servers.sh
CommitLineData
e7870ff3
C
1#!/bin/bash
2
3if [ ! -f server.js ]; then
4 echo "The script has to be executed at the root of the project."
5 exit -1
6fi
7
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 &