#!/bin/sh
# Start the Simulator System with the practice script
cd ../webapps
python -m CGIHTTPServer 8080 &
sleep 1
cd ..
java -DPROP_FILE=cad_server_practice.properties -jar deploy/CADserver.jar &
sleep 7
java -jar deploy/SimManager.jar practice_script_2016.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 &

