Fix EOSdash startup. (#394)
Some checks are pending
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run

Revert to EOSdash startup as a sub-process.
Add arguments to control the complete startup of both servers.
Also development reload can now be given as an argument.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2025-01-21 19:20:50 +01:00
committed by GitHub
parent e255e97141
commit 9c91a64c1b
5 changed files with 280 additions and 38 deletions

View File

@@ -27,23 +27,23 @@ python -m venv .venv
Windows:
```bash
```cmd
python -m venv .venv
.venv\Scripts\pip install -r requirements.txt
```
Finally, start EOS fastapi server:
Finally, start the EOS server:
Linux:
```bash
.venv/bin/fastapi run --port 8503 src/akkudoktoreos/server/eos.py
.venv/bin/python src/akkudoktoreos/server/eos.py
```
Windows:
```
.venv\Scripts\fastapi run --port 8503 src/akkudoktoreos/server/eos.py
```cmd
.venv\Scripts\python src/akkudoktoreos/server/eos.py
```
### Docker