Sample flask for rpi-4 built on rpi
10K+
I wrote it to learn and both to get one little tool to convert the decimal time of workous into a start and quit hour when I worked for Hays.
gaillardo/hayshoursrpitest and latest are stateless
datavol uses an host volume on the node to store the last
quitting hour. Just a singleton pod is created. This is not
a deployment. To access the website:
kubectl port-forward <pod-name> localport:5000
The starting time is fixed to 07:30.
Once started http://localhost:5000 allows to enter
the decimal elapsed time in a form.
The submit will call the "backend" method getEnd
of HaysHours object.
form.htmlIt is also possible to use an API.
For sample
http://localhost:5000/calc/8.5
api.htmlContent type
Image
Digest
Size
126.7 MB
Last updated
over 5 years ago
docker pull gaillardo/hayshoursrpi:file-v4