diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 11:17:50 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 12:56:36 +0200 |
commit | 9353449515ff6881a54ce6887297b7eab2855186 (patch) | |
tree | d3a6a3e84b3684e3689c4b40ed2e1d53b26a3dc8 /bin/run_servers.sh | |
parent | 1342381694456da6bfcb01a6f9e23c54cc90c82e (diff) | |
download | PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.gz PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.zst PeerTube-9353449515ff6881a54ce6887297b7eab2855186.zip |
Use scripty instead of writing shell commands in package.json
Diffstat (limited to 'bin/run_servers.sh')
-rwxr-xr-x | bin/run_servers.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/run_servers.sh b/bin/run_servers.sh deleted file mode 100755 index 83768178c..000000000 --- a/bin/run_servers.sh +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | if [ ! -f server.js ]; then | ||
4 | echo "The script has to be executed at the root of the project." | ||
5 | exit -1 | ||
6 | fi | ||
7 | |||
8 | NODE_ENV=test NODE_APP_INSTANCE=1 node server.js & | ||
9 | sleep 1 | ||
10 | NODE_ENV=test NODE_APP_INSTANCE=2 node server.js & | ||
11 | sleep 1 | ||
12 | NODE_ENV=test NODE_APP_INSTANCE=3 node server.js & | ||