Changeset 514 in tmcsimulator


Ignore:
Timestamp:
11/07/2019 07:33:11 PM (6 years ago)
Author:
jdalbey
Message:

Add mkunifiedloggerzip.sh script

Location:
trunk/bin
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/systemstart_dev_full_session.bat

    r410 r514  
    11REM Start the Simulator System with the full incident script 
     2 
     3# Delete any existing CADcomments.log 
     4del ../webapps/dynamicdata/CADcomments.log 
    25 
    36REM Start the webserver 
     
    58cd webapps & start C:\Python27\python -m CGIHTTPServer 80 
    69 
    7 REM Copy the desired incident script to the web directory so it 
    8 REM is available for the EInotebook.   
    9 cd .. 
    10 copy /y scripts\full_script_2016.xml webapps\dynamicdata\incident_script.xml 
    1110 
    1211REM Start the CAD server 
    13 start java -jar deploy\CADserver.jar 
     12cd .. 
     13start java -DCONFIG_DIR=config/dev -jar deploy\CADserver.jar 
    1414 
    1515REM sleep for 5 seconds 
     
    1919start java -jar deploy\SimManager.jar full_script_2016.xml  
    2020 
     21REM sleep for 5 seconds 
     22TIMEOUT /T 5 
    2123 
     24REM Start Unified Logger Service 
     25start C:\Python27\python deploy\unifiedlogger.zip 
     26 
     27REM Launch a browser with our webapps 
     28"C:\Program Files\Mozilla Firefox\firefox.exe" localhost:80/einotebook  localhost:80/cptms localhost:80/unifiedlogmonitor.html 
     29 
     30REM sleep for 5 seconds 
     31TIMEOUT /T 5 
     32 
     33REM Start the CAD client 
     34start java -jar deploy\CADclient.jar 
  • trunk/bin/systemstart_dev_full_session.sh

    r410 r514  
    11#!/bin/sh 
    22# Start the Simulator System with the full incident script 
     3 
    34cd ../webapps 
     5# Delete any existing CADcomments.log 
     6del dynamicdata/CADcomments.log 
     7# Delete start the local webserver 
    48echo "Starting webserver in folder" `pwd` 
    59python -m CGIHTTPServer 8080 & 
     
    913sleep 10 
    1014java -jar deploy/SimManager.jar full_script_2016.xml & 
    11 # Manual step for now, until it's integrated into Sim Mgr 
    12 cp scripts/full_script_2016.xml webapps/dynamicdata/incident_script.xml 
     15sleep 10 
    1316# Start a browser and run the web applications 
    14 # firefox localhost:8080 & 
     17firefox localhost:8080 & 
     18sleep 10 
     19java -jar deploy/CADclient.jar & 
     20sleep 5 
    1521 
  • trunk/bin/systemstart_dev_practice_session.bat

    r410 r514  
    11REM Start the Simulator System with the practice script 
    22 
     3# Delete any existing CADcomments.log 
     4del ..\webapps\dynamicdata\CADcomments.log 
     5 
    36REM Start the webserver 
    4 cd ..\webapps 
    5 start C:\Python27\python -m CGIHTTPServer 80 
     7cd .. 
     8cd webapps & start C:\Python27\python -m CGIHTTPServer 80 
    69 
    7 REM Copy the desired incident script to the web directory so it 
    8 REM is available for the EInotebook.   
    9 cd .. 
    10 copy /y scripts\practice_script_2016.xml webapps\dynamicdata\incident_script.xml 
    1110 
    1211REM Start the CAD server 
    13 start java -DPROP_FILE=cad_simulator_practice.properties -jar deploy/CADserver.jar 
     12cd .. 
     13start java -DCONFIG_DIR=config/dev -DPROP_FILE=cad_simulator_practice.properties -jar deploy\CADserver.jar 
    1414 
    1515REM sleep for 5 seconds 
    1616TIMEOUT /T 5 
    1717 
    18 REM Start the Simulation Manager 
    19 start java -jar deploy/SimManager.jar practice_script_2016.xml 
     18REM Start the Simulation Manager and load the practice script 
     19start java -jar deploy\SimManager.jar practice_script_2016.xml  
    2020 
     21REM sleep for 5 seconds 
     22TIMEOUT /T 5 
    2123 
     24REM Start Unified Logger Service 
     25start C:\Python27\python deploy\unifiedlogger.zip 
     26 
     27REM Launch a browser with our webapps 
     28"C:\Program Files\Mozilla Firefox\firefox.exe" localhost:80/einotebook  localhost:80/cptms localhost:80/unifiedlogmonitor.html 
     29 
     30REM sleep for 5 seconds 
     31TIMEOUT /T 5 
     32 
     33REM Start the CAD client 
     34start java -jar deploy\CADclient.jar 
  • trunk/bin/systemstart_production_full_session.bat

    r410 r514  
    11REM Start the Simulator System with the full incident script 
     2REM Assumes Apache webserver is running on mapped drive W: 
    23 
    3 REM Start the webserver 
    4 rem cd .. 
    5 rem cd webapps & start C:\Python27\python -m CGIHTTPServer 80 
    6  
    7 REM Copy the desired incident script to the web directory so it 
    8 REM is available for the EInotebook.   
    9 cd .. 
    10 copy /y scripts\full_script_2016.xml w:\\webapps\\dynamicdata\\incident_script.xml 
     4REM Delete any existing CADcomments.log 
     5del w:\webapps\dynamicdata\CADcomments.log 
    116 
    127REM Start the CAD server 
     8cd .. 
    139start java -jar deploy\CADserver.jar 
    1410 
     
    1915start java -jar deploy\SimManager.jar full_script_2016.xml  
    2016 
     17REM sleep for 5 seconds 
     18TIMEOUT /T 5 
    2119 
     20REM Launch a browser with our webapps 
     21"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" webapps.tmcsim/einotebook  webapps.tmcsim/cptms webapps.tmcsim/unifiedlogmonitor.html 
  • trunk/bin/systemstart_production_practice_session.bat

    r410 r514  
    11REM Start the Simulator System with the practice script 
     2REM Assumes Apache webserver is running on mapped drive W: 
    23 
    3 REM Start the webserver 
    4 REM cd ..\webapps 
    5 REM start C:\Python27\python -m CGIHTTPServer 80 
    6  
    7 REM Copy the desired incident script to the web directory so it 
    8 REM is available for the EInotebook.   
    9 cd .. 
    10 copy /y scripts\practice_script_2016.xml w:\\webapps\\dynamicdata\\incident_script.xml 
     4REM Delete any existing CADcomments.log 
     5del w:\webapps\dynamicdata\CADcomments.log 
    116 
    127REM Start the CAD server 
     8cd .. 
    139start java -DPROP_FILE=cad_simulator_practice.properties -jar deploy/CADserver.jar 
    1410 
     
    1915start java -jar deploy/SimManager.jar practice_script_2016.xml 
    2016 
     17REM sleep for 5 seconds 
     18TIMEOUT /T 5 
    2119 
     20REM Launch a browser with our webapps 
     21"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" webapps.tmcsim/einotebook  webapps.tmcsim/cptms webapps.tmcsim/unifiedlogmonitor.html 
Note: See TracChangeset for help on using the changeset viewer.