An agent based traffic simulator web application. Winter 2020 Honors Project
To run locally, first install all required dependencies with npm install
.
The project can then be run with npm start
. Host/port can be changed with
PORT=8080 npm start
.
This project is also dockerized for more straightforward deployments. The docker file can be built and run as follows.
docker build -t gridlock:latest .
docker run -p 80:80 gridlock:latest
Kubernetes can be used as well using the kustomization.yml
file pushed with
kubectl
targeting a given k8 environment.
The project is built with typescript with a client and server. The client is located in the client directory and the server is located in the server directory; all shared code is located in common. A few tests are located in tests, and the map generation script is located in scripts. All packaged maps are located in the maps directory.