Backend: ktor, exposed Frontend: kotlin-react, kotlin-js-wrappers Deployment: docker, helm, kubernetes
All the commands below use FISH shell syntax on macOS
$ ./gradlew build
$ docker build -t todoapp:v0.0.1 .
$ docker run -m512M --cpus 2 -it -p 9090:9090 --rm todoapp:v0.0.1
$ eval (minikube docker-env)
$ docker run -m512M --cpus 2 -it -p 9090:9090 --rm todoapp:v0.0.1
$ open http://(minikube ip):9090/
$ brew install helm
$ helm init
Use helm
to install.
$ cd helm-chart
- Copy PostgreSQL chart into charts
$ helm update dependencies todoapp
- Package chart into archive
$ helm package todoapp
- Install package into Kubernetes
$ helm install todoapp-0.0.2.tgz