Commit graph

19 commits

Author SHA1 Message Date
avollkopf
07ffe0dea8 changes for devcontainer 2024-05-02 19:02:02 +02:00
avollkopf
ed7580b5b0 fix for logging in case systemd is not available 2024-05-02 17:39:43 +02:00
avollkopf
4c0aa22e98 adapted dockerfiles to new org 2023-03-04 16:03:04 +01:00
avollkopf
10e603e81c require latest numpy t-> works with python up to 3.11 in devcontainer 2023-01-15 14:21:16 +01:00
avollkopf
8d6f21749d replaced PyInquirer with inquirer for python 3.10 compatibility 2023-01-07 22:39:08 +01:00
prash3r
2a0daf354c moves cbpi_dashboard_*.json to dashboard folder.
if the file cbpi_dashboard_1.json doesnt exist in the dashboard folder
every cbpi_dashboard_*.json file from the config folder is moved to the dashboard folder.
This also removes the empty default cbpi_dashboard_1.json file from the template folder,
because the file is not needed for cbpi to function and can be created when editing the dashboard online.
2022-10-02 18:32:40 +02:00
prash3r
50fa87d6df repairs plugin creation inside the devcontainer
strange windows volume behaviour needs a small delay
between template folder unzip and rename.
reverts user changes of the dev container
which werent the cause of this problem.
2022-09-24 21:55:36 +02:00
prash3r
e0d809c3a3 additional requirements.txt for devcontainer only
inside the dev container default config there now is a
'additional-dev-requirements.txt' file that allows us to
ship additional python packages requirements
with a default development config.
2022-09-24 12:58:26 +02:00
prash3r
1fa3f88997 adds the 'cbpi create' command to vscode.
also initilizes plugin names with dashes instead of underscores.
everything now runs as root inside the dev container
(otherwise the permissions for cbpi create wouldnt be sufficient).
2022-09-16 10:25:31 +02:00
prash3r
706bbac9f0 keeps default dev config unchanged.
this commit moves the default config into a seperate folder.
And it adds a preLaunchTask
which copies the default dev config to the used dev config.
This is done with the cp option '-ru'
so if the files in the target dir (current config)
are newer they are not overwritten.
2022-09-14 19:14:52 +02:00
prash3r
4952861a58 logs folder is next to the active config folder.
It was wherever 'cbpi setup' was run from.
and if no config folder path is provided its still the same.
This also adds a file based global logger placed in the logs folder.
The sensor loggers respect the new logs folder location.
2022-09-09 18:44:48 +02:00
prash3r
2f085965c7 extends cbpi-dev-config to be a complete set.
cbpi requires empty folders inside the config folder to fully function, and this commit adds them.
There are also some more extensive checks on missing files and folders newly implemented.
As well as checking for restored_config.zip is now done before checking for config.yaml.
On unsuccessfull restore the zip file is renamed instead of deleted.
2022-09-02 17:00:50 +02:00
avollkopf
4d85c4c6af Update minor version 2022-07-16 10:26:32 +02:00
avollkopf
4744070063 change docker ui to main 2022-05-11 07:29:58 +02:00
avollkopf
b1bd3dc9f4 adapt for release test with different gui package 2022-05-10 07:06:14 +02:00
avollkopf
08a841ebe3 Add test for fermenter spunding logic 2022-04-03 20:07:22 +02:00
Philipp Grathwohl
1b2257f3e2 Use official source for cbpi-ui plugin 2022-04-01 08:25:53 +02:00
Philipp Grathwohl
a187ec64e1 Add default configuration for development environment 2022-03-31 08:04:42 +02:00
Philipp Grathwohl
9366c18a38 Configure devcontainer for python 2022-03-31 08:04:42 +02:00