Files
openfoodnetwork/script-angular/test-server.sh

15 lines
430 B
Bash
Executable File

#!/bin/bash
BASE_DIR=`dirname $0`
PORT=9876
echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)"
echo "Please open the following url and capture one or more browsers:"
echo "http://localhost:$PORT"
java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \
--port $PORT \
--browserTimeout 20000 \
--config "$BASE_DIR/../config/jsTestDriver.conf" \
--basePath "$BASE_DIR/.."