diff --git a/README.md b/README.md index 8f06b5e..2fe1175 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,7 @@ The VPS has an nginx server at the front. # useful links ## Install mongosh https://www.mongodb.com/docs/mongodb-shell/install/#std-label-mdb-shell-install + +# fresh setup + +Follow the README in `scripts/README.md` \ No newline at end of file diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..bb93895 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,23 @@ +# Setup + +## Setup host + +- Install docker +- Install minikube (https://minikube.sigs.k8s.io/docs/start/) +- Install helm +- Run `setup-env.sh` + +## Start minikube + +`minikube start` + +`./scripts/minikube-setup` + +## Install cert-manager + +`./scripts/cert-manager.sh` + +## Apply configs + +First, apply all the configs in `./kube` directly. Only apply `server-ingress.yaml`, not `local-ingress.yaml`! +Then, apply all configs in `./kube/apps`. \ No newline at end of file