Table of Contents

Web Application

The web application service serves the webapp via http.

Frameworks and Intricacies

Building and Running the Webapp locally

You can build and run the webapp locally by doing the following:

  1. Confirm docker is running on your machine
  2. Change directory to the build directory
    cd build
  3. Use docker-compose to build and run the webapp
    make webapp
  4. Navigate to to http://localhost:8662/

Building and Running the Webapp in Kubernetes production

You can deploy the webapp to our production kubernetes cluster by:

  1. Confirm you are in the build directory:
    cd build
  2. You can deploy using EITHER the make command OR kubectl
    1. make command:
      make k_depoy_webapp
    2. kubectl:
      kubectl apply -f k8s/webapp.yml
  3. Confirm the webapp service is deployed:
    kubectl get service webapp-service