mirror of
https://github.com/janishutz/BiogasControllerApp.git
synced 2025-11-25 05:44:23 +00:00
Complete restructure
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 65 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 32 KiB |
BIN
BiogasControllerAppLogo.xcf
Executable file
BIN
BiogasControllerAppLogo.xcf
Executable file
Binary file not shown.
@@ -28,7 +28,7 @@
|
||||
|
||||
BiogasControllerApp has just received a major rewrite, where I focused on code-readability, documentation and stability. The documentation in the code is aimed at beginners and does contain some unnecessary extra comments
|
||||
|
||||
If you are here to read the code, the files you are most likely looking for can be found in the `biogascontrollerapp/lib` folder. If you want to understand and have a look at all of the application, start with the `biogascontrollerapp.py` file in the `biogascontrollerapp` folder
|
||||
If you are here to read the code, the files you are most likely looking for can be found in the `lib` folder. If you want to understand and have a look at all of the application, start with the `biogascontrollerapp.py` file
|
||||
|
||||
# Features
|
||||
- Read data the microcontroller in ENATECH sends
|
||||
@@ -67,7 +67,7 @@ Only needed if you run with python directly
|
||||
- kivy[base]
|
||||
- pyserial
|
||||
|
||||
To install them, run `pip install -r requirements.txt` in the `biogascontrollerapp/` directory
|
||||
To install them, run `pip install -r requirements.txt`
|
||||
|
||||
# Contributing
|
||||
If you wish to contribute to this project, please fork this repository, create a new branch in your fork, make your changes and open a pull request in this repo.
|
||||
|
||||
@@ -33,7 +33,7 @@ use_venv=$(echo "$use_venv" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
echo "\n => Checking for repo..."
|
||||
|
||||
if [[ -f ./biogascontrollerapp/biogascontrollerapp.py ]]; then
|
||||
if [[ -f ./biogascontrollerapp.py ]]; then
|
||||
echo "\n -> Data found, not downloading"
|
||||
else
|
||||
do_download=""
|
||||
@@ -63,10 +63,6 @@ else
|
||||
fi
|
||||
|
||||
# We are now guaranteed to be in the base directory of the repo
|
||||
|
||||
# cd into biogascontrollerapp directory
|
||||
cd ./biogascontrollerapp/
|
||||
|
||||
# Set up venv if selected
|
||||
if [[ "$use_venv" == "y" || "$use_venv" == "" ]]; then
|
||||
python -m venv .venv
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
use_venv="y"
|
||||
if [[ -f ./biogascontrollerapp/.venv/bin/activate ]]; then
|
||||
if [[ -f ./.venv/bin/activate ]]; then
|
||||
if [[ "$SHELL" == "fish" ]]; then
|
||||
source ./.venv/bin/activate.fish
|
||||
elif [[ "$SHELL" == "csh" ]]; then
|
||||
@@ -15,5 +15,4 @@ if [[ -f ./biogascontrollerapp/.venv/bin/activate ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
cd ./biogascontrollerapp/
|
||||
python biogascontrollerapp.py
|
||||
|
||||
Reference in New Issue
Block a user