Changeset 679 in tmcsimulator for trunk/bin/systemstart_dev_practice_session.sh


Ignore:
Timestamp:
09/26/2022 05:03:29 PM (4 years ago)
Author:
jdalbey
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/systemstart_dev_practice_session.sh

    r663 r679  
    1 #!/bin/sh 
     1#!/bin/bash 
     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 
    213# Start the Simulator System with the practice script 
    314cd ../webapps 
     
    516sleep 1 
    617cd .. 
    7 java -DPROP_FILE=cad_server_practice.properties -jar deploy/CADserver.jar & 
     18java -DCONFIG_DIR=config/devlinux -DPROP_FILE=cad_server_practice.properties -jar deploy/CADserver.jar & 
    819sleep 7 
     20python deploy/unifiedlogger.zip & 
     21 
     22sleep 2 
    923java -jar deploy/SimManager.jar practice_script_2016.xml & 
    1024 
    11 # Start Unified Logger Service 
    12 python deploy/unifiedlogger.zip & 
    13 sleep 5 
    1425# Start a browser and run the web applications 
    1526firefox localhost:8080/einotebook  localhost:8080/cptms localhost:8080/unifiedlogmonitor.html & 
Note: See TracChangeset for help on using the changeset viewer.