mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-30 11:52:24 +03:00
ecef65b605
project)
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -f server.js ]; then
|
|
echo "The script has to be executed at the root of the project."
|
|
exit -1
|
|
fi
|
|
|
|
NODE_ENV=test NODE_APP_INSTANCE=1 node server.js &
|
|
sleep 1
|
|
NODE_ENV=test NODE_APP_INSTANCE=2 node server.js &
|
|
sleep 1
|
|
NODE_ENV=test NODE_APP_INSTANCE=3 node server.js &
|