#!/bin/sh # Kill any process leftover from previous run kill $(ps aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}') kill $(ps aux | grep "[p]ython deploy/unifiedlogger.zip" | awk '{print $2}') # Start the Simulator System with the system test script cd ../webapps python -m CGIHTTPServer 8080 & sleep 1 cd .. java -DPROP_FILE=cad_server_systest.properties -jar deploy/CADserver.jar & sleep 7 java -jar deploy/SimManager.jar system_test_script.xml & # Manual step for now, until it's integrated into Sim Mgr #cp Scenarios/system_test_script.xml webapps/dynamicdata/incident_script.xml # Start a browser and run the web applications firefox localhost:8080/einotebook localhost:8080/cptms #localhost:8080/unifiedlogmonitor.html &