Remove build utilities, add install script

This commit is contained in:
2025-06-10 17:15:05 +02:00
parent bf244c7dab
commit af4b697e01
8 changed files with 126 additions and 68 deletions

19
launch.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
use_venv="y"
if [[ -f ./biogascontrollerapp/.venv/bin/activate ]]; then
if [[ "$SHELL" == "fish" ]]; then
source ./.venv/bin/activate.fish
elif [[ "$SHELL" == "csh" ]]; then
source ./.venv/bin/activate.csh
else
source ./.venv/bin/activate
fi
if [[ !command -v deactivate >/dev/null 2>&1 ]]; then
echo "Virtual environment could not be activated. Trying to run anyway"
fi
fi
cd ./biogascontrollerapp/
python biogascontrollerapp.py