Client uses React, Typescript, Webpack, Material UI
The following steps assume the dev machine is an Apple Silicon Mac
If that is not the case, qemu can be used to emulate ARM64, and minikube can be used in place of Docker Desktop.
npm install
to install dependenciesnpm run dev
to run, onlocalhost:8081
- Assumes the API is running on
:8080
, and proxies to that
- Assumes the API is running on
- Make sure Docker Desktop is running, including K8s
npm run kubelocal:start
does everything necessary to deploy the app in docker-desktop-k8s- Builds the frontend, placing it in
./dist
- Builds the docker image
- Creates the deployment
- Opens the running service at
localhost:32323
- Builds the frontend, placing it in
npm run kubelocal:stop
deletes the deployment
- Commit the ready-to-be-released code to
develop
- Run
npm version
to:- Update
version
in package.json - Push to
develop
with git tag - Build, tag and push the docker image to Docker Hub
- Rollout deployment on cluster
- Update