Install the following dependencies before running the project:
- Docker
- Minikube
- Kubectl
Run the following command to allow Minikube to work with the Docker deamon:
eval $(minikube docker-env)
Run the start script to execute the project locally:
./start.sh development
Run the restart script to delete the Kubernetes pods, services and deployments, re-build the nodejs-based Docker image to include your code and create the aforementioned Kubernetes entities again:
./restart.sh development
Run the clean script to delete all the Kubernetes entities created by this program:
./clean.sh
The status of the created Kubernetes entities (including logs) can be checked through the minikube dashboard:
minikube dashboard