Hi auctioneer, welcome to the github repo of the e_auction website!
Head over to our auction homepage to get started with your auction: http://34.124.196.146/
Please find our report 4-FinalReport-1.pdf in our repo's root directory.
If you want to manually setup the entire project and run everything locally, here are the steps.
Assuming the repo has been cloned locally and docker desktop with kubernetes enabled is available,
-
Go to the root folder and run 'docker-compose build' to build images.
-
To run the metrics server for the HPA to work run
kubectl apply -f ./k8/hpa/metrics-server.yamlfrom the root folder. -
Also, ensure that nginx-ingress controller is configured properly by running
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.4/deploy/static/provider/cloud/deploy.yaml -
Make sure the
./k8/setup.shand./k8/teardown.shfiles are in LF mode for End of line sequence -
Then from a wsl/linux terminal, run
./k8/setup.sh. This will ensure that the backend microservices are running in the docker-desktop Kubernetes cluster and are exposed through the Ingresses we configured. -
To run the frontend, go to the ./frontend directory from the root folder.
-
Run yarn add all to install the necessary node modules.
-
Finally, run yarn start to run the frontend. The frontend client should be running on http://localhost:3000/