== HOWTO TMCSim Startup within !NetBeans == === === If you haven't yet done so, checkout our source code repository using this [https://tinyurl.com/y4579yw7 command]. Start !NetBeans v8.2. Select File > Open Project. In the file chooser dialog, navigate to the repository folder '`trunk/IDE_metadata/NetBeans/` and select "`TMCSim`". Click "Open Project". Select "CAD Server" in Project Configuration dropdown menu. Click the "Run Project" button (or press F6). Wait a moment for CAD Server to start up and the GUI be displayed. The title bar should say "CAD Server" and revision number. Click on any file in the Projects pane to re-enable the "Run" button. Choose "Sim Mgr" from the Project Configuration drop down. Click "Run Project" again to start the Simulation Manager. Verify the Simulation Manager GUI displays the default initial values: time is 0:00:00, status is "Ready" (in red font) and the title bar indicates "`full_script_2016.xml`". The Incident Management panel should show the incident numbers from the script. If desired, click "Load Script". Select one of the available XML script files (for example, "practice_script_2016.xml"). (Optional: Start a CAD Client.) Click the "Start" button in the Simulator GUI. Simulator status should say "Running" (in green font). The clock in the Simulation Manager and CADServer will start incrementing. When the next scheduled event time occurs, the Event History panel in the Sim Mgr will update. In the CAD Server, the "Traffic" tab shows the color code ('G','Y', or 'R') for highway segments on the CPTMS display. You should be able to hear simulated radio communications through your computer audio output jack. Open a terminal window and change directory to the `webapps` directory. Start the webserver: * (Linux)    `python -m CGIHTTPServer 8080 &` Start Firefox and in the address bar enter this URL: `http://localhost:8080/cptms/` Observe a colorful Google Map appear with traffic flow indicators in green, yellow, and red. Observe the simulator running incidents. To terminate, close the applications from within !NetBeans or with window close button.