Rename FastAPI server to EOS. (#355)

Rename FastAPI server to `eos` and FastHTML server to `eosdash`.

Make an user easily identify what server is meant. FastAPI and FastHTML are
implementation details that may confuse the non-technical user.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2025-01-09 16:54:49 +01:00
committed by GitHub
parent 1d1fa9585a
commit 34d8e88771
15 changed files with 130 additions and 134 deletions

View File

@@ -170,7 +170,7 @@ def server(xprocess, config_eos, config_default_dirs):
# assure server to be installed
try:
subprocess.run(
[sys.executable, "-c", "import akkudoktoreos.server.fastapi_server"],
[sys.executable, "-c", "import akkudoktoreos.server.eos"],
check=True,
env=env,
stdout=subprocess.PIPE,
@@ -186,7 +186,7 @@ def server(xprocess, config_eos, config_default_dirs):
)
# command to start server process
args = [sys.executable, "-m", "akkudoktoreos.server.fastapi_server"]
args = [sys.executable, "-m", "akkudoktoreos.server.eos"]
# startup pattern
pattern = "Application startup complete."