A (not so) simple todo made in flutter that will be deployed into a docker Container.
- Flutter
- Docker
On a command line, type the following commands:
flutter clean
flutter pub get
flutter build web
docker login
docker build -t flutter-todos-web .
docker run -d -p 8080:80 --name todos-web flutter-todos-web
Or, in Windows:
.\build.ps1
- Install kind
- With the docker image built, run the following command:
kind load docker-image flutter-todos-web --name todos-cluster
- Run the
kubectl
to create the new infra:
kubectl create -f .\simple-todo-k8.yaml
- Open a browser and access the simple todo web address