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:
make help
make compile
To see the help of what can be done.
Or, in Windows:
.\command_help.ps1 - Shows this help
.\command_compile.ps1 - Compiles the project
.\command_build.ps1 - Builds the project
.\command_fix.ps1 - Runs dart analyze and dart fix
.\command_docker_build.ps1 - Builds the docker image locally
.\command_docker_run.ps1 - Runs docker locally
.\command_docker_upload.ps1 - Upload a new version of docker image (requires version parameter)
.\command_kubernetes.ps1 - Create local Kubernetes deployments with kind- Install kind
- Create Cluster
kind create cluster --name todos-cluster- With the docker image built, run the following command:
kind load docker-image flutter-todos-web --name todos-cluster- Run the
kubectlto create the new infra:
kubectl create -f .\simple-todo-k8.yaml- Open a browser and access the simple todo web address