Warning: Can't use blame annotator:
svn blame failed on trunk/bin/systemstart_dev_full_session.sh: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/trunk/bin/systemstart_dev_full_session.sh @ 679

Revision 679, 1.1 KB checked in by jdalbey, 4 years ago (diff)

Update scripts and bat files to use config/devlinux files.

  • Property svn:executable set to *
RevLine 
1#!/bin/sh
2
3# Kill any process leftover from previous run
4kill $(ps  aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}')
5kill $(ps  aux | grep "[p]ython deploy/unifiedlogger.zip" | awk '{print $2}')
6
7# Get path to this script
8# $0 contains path to the script file, even if launched from file manager
9SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
10# CD to the script folder
11cd "$SCRIPT_PATH"
12
13# Start the Simulator System with the full incident script
14cd ../webapps
15# Delete any existing CADcomments.log
16rm dynamicdata/CADcomments.log
17#  start the local webserver
18echo "Starting webserver in folder" `pwd`
19python -m CGIHTTPServer 8080 &
20sleep 1
21cd ..
22java -DCONFIG_DIR=config/devlinux -jar deploy/CADserver.jar &
23sleep 10
24java -jar deploy/SimManager.jar full_script_2016.xml &
25sleep 10
26# Start Unified Logger Service
27python deploy/unifiedlogger.zip &
28sleep 5
29# Start a browser and run the web applications
30firefox localhost:8080/einotebook  localhost:8080/cptms localhost:8080/unifiedlogmonitor.html &
31
32sleep 10
33java -DCONFIG_DIR=config/devlinux -jar deploy/CADclient.jar &
34sleep 5
35
Note: See TracBrowser for help on using the repository browser.