- 📝 Table of Contents
- 🏁 Getting Started
- Folder Structure
- Prerequisites
- Installation
- 🎈 Usage
- Current Issues
- Authors
- Credits/Citation
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Currently no file structure
What things you need to install and run the application
- docker ->
https://docs.docker.com/get-docker/
- kubectl ->
https://kubernetes.io/docs/tasks/tools/
- minikube ->
https://minikube.sigs.k8s.io/docs/start/
- ingress ->
https://kubernetes.github.io/ingress-nginx/deploy/#minikube
A step by step series of examples that tell you how to get a development environment running.
- Check out the latest code on the main branch
- From the root directory, cd into willow_api 2.1. docker build -t DOCKER_USERNAME/willowapi . 2.2. docker push DOCKER_USERNAME/willowapi
- From the root directory, cd into willow 3.1. docker build -t DOCKER_USERNAME/willow . 3.2. docker push DOCKER_USERNAME/willow
- From the root directory, minikube start or minikube start --vm=true
- ingress ->
https://kubernetes.github.io/ingress-nginx/deploy/#minikube
5.1. minikube delete 5.2. rm -r -fo ~.minikube 5.3 minikube start 5.4. minikube addons enable ingress - kubectl apply -f k8s
- kubectl get all
- minikube dashboard
- minikube service willow --url
- minikube service willow_api --url
- Minikube ip
- If using only deployment file
- Run
kubectl port-forward deployment/willow 8080:80
- Navigate to localhost:8080 on your favorite browser
- Run
- Add Jenkins and Ansible
- Vaishvik Maisuria
- Medium: https://betterprogramming.pub/deploy-a-full-stack-go-and-react-app-on-kubernetes-4f31cdd9a48b
- Medium: https://maksood.medium.com/deploy-a-react-app-on-kubernetes-using-docker-129a75b79d58
- Medium: https://medium.com/bb-tutorials-and-thoughts/how-to-run-react-with-nodejs-api-on-minikube-732e005272f9