#!/bin/sh
# Start the Simulator System with the full incident script

cd ../webapps
# Delete any existing CADcomments.log
rm dynamicdata/CADcomments.log
#  start the local webserver
echo "Starting webserver in folder" `pwd`
python -m CGIHTTPServer 8080 &
sleep 1
cd ..
java -jar deploy/CADserver.jar &
sleep 10
java -jar deploy/SimManager.jar full_script_2016.xml &
sleep 10
# Start a browser and run the web applications
firefox localhost:8080 &
sleep 10
java -jar deploy/CADclient.jar &
sleep 5

