| Revision 679,
876 bytes
checked in by jdalbey, 4 years ago
(diff) |
|
Update scripts and bat files to use config/devlinux files.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | # Kill any process leftover from previous run |
|---|
| 4 | kill $(ps aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}') |
|---|
| 5 | kill $(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 |
|---|
| 9 | SCRIPT_PATH=$(dirname "$(readlink -f "$0")") |
|---|
| 10 | # CD to the script folder |
|---|
| 11 | cd "$SCRIPT_PATH" |
|---|
| 12 | |
|---|
| 13 | # Start the Simulator System with the system test script |
|---|
| 14 | cd ../webapps |
|---|
| 15 | python -m CGIHTTPServer 8080 & |
|---|
| 16 | sleep 1 |
|---|
| 17 | cd .. |
|---|
| 18 | java -DCONFIG_DIR=config/devlinux -DPROP_FILE=cad_server_systest.properties -jar deploy/CADserver.jar & |
|---|
| 19 | sleep 7 |
|---|
| 20 | python deploy/unifiedlogger.zip & |
|---|
| 21 | |
|---|
| 22 | sleep 2 |
|---|
| 23 | java -jar deploy/SimManager.jar system_test_script.xml & |
|---|
| 24 | |
|---|
| 25 | # Start a browser and run the web applications |
|---|
| 26 | firefox localhost:8080/einotebook localhost:8080/cptms localhost:8080/unifiedlogmonitor.html & |
|---|
| 27 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.