The webserver is now using flask instead of python http server. This is

due to its incapability to easily render images or graphs.
The program now also uses a new class called 'Sensor' instead of a
very long for loop to correctly format the data from the json file.
Added LICENSE file
Added favicon
Added Flask HTML
This commit is contained in:
mia 2025-05-27 11:25:37 +02:00
parent 9a48f52845
commit 4c654ec969
13 changed files with 932 additions and 115 deletions

View file

@ -5,10 +5,11 @@ pkgs.mkShell {
(pkgs.python3.withPackages (ps: with ps; [
matplotlib
numpy
flask
]))
];
shellHook = ''
export SHELL=${pkgs.zsh}/bin/zsh
exec ${pkgs.zsh}/bin/zsh
'';
# shellHook = ''
# export SHELL=${pkgs.zsh}/bin/zsh
# exec ${pkgs.zsh}/bin/zsh
# '';
}