== How to deploy TMC Simulator == On a development machine checkout the TMC Simulator trunk from the SVN repo. Open the project in !NetBeans. Clean and Build. Run Test Project and confirm any failed tests aren't system problems. Run the build target: package-jars While connected to the TMC lab LAN open a network connection to STORAGE. (Note: it accepts anonymous connection without password. If this fails, as a workaround just transfer the files using !SneakerNet - a USB Flash Drive.) Copy desired Jar files from trunk/deploy folder to TMC Simulator Test[[BR]] * CADserver.jar - Always needed * !SimManager.jar - Runs the simulation * CADClient.jar - Student workstation client * !ClockClient.jar - Sim clock view for instructors * !TrafficEventsAnimator.jar - For traffic event author script testing Login to Windows Development PC Open File Explorer to STORAGE. Copy Jar files to C:\TMCSim_Test folder. Copy and changed config files, event files. Double-click on a Jar file to execute it, or open a command prompt to get a console where error messages are displayed and issue {{{ java -jar CADserver.jar }}} == Deploy CPTMS web app == Make sure Python is installed. Create !WebServer.bat in C:\TMCSim_Test folder. {{{ cd webapps & C:\Python27\python -m CGIHTTPServer 8080 }}} If necessary create webapps subfolder. Copy these files to the webapps folder. {{{ cctv_locations_D12.json cmsStatusD12.json cptms_map.html highways.json highways_startup.json messagefile.txt scoreboard.ttf }}} If necessary create images subfolder in webapps. Copy the cctv images into it. Also, create cgi-bin folder and put savemessage.py there.