#!/bin/sh
# Start the Simulator System with the practice script
cd ../webapps
python -m CGIHTTPServer 8080 &
sleep 1
cd ..
java -DPROP_FILE=cad_simulator_practice.properties -jar deploy/CADserver.jar &
sleep 7
java -jar deploy/SimManager.jar practice_script_2016.xml &
# Manual step for now, until it's integrated into Sim Mgr
#cp scripts/practice_script_2016.xml webapps/dynamicdata/incident_script.xml

# Start Unified Logger Service
python deploy/unifiedlogger.zip &
sleep 5
# Start a browser and run the web applications
firefox localhost:8080/einotebook  localhost:8080/cptms localhost:8080/unifiedlogmonitor.html &

