From: Jérôme Benoit Date: Mon, 21 Oct 2024 15:52:21 +0000 (+0200) Subject: fix: fix server task X-Git-Tag: ocpp-server@v1.5.2~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=63bdd06f6a605d56e31dfc2787b259d190dea56c;p=e-mobility-charging-stations-simulator.git fix: fix server task Signed-off-by: Jérôme Benoit --- diff --git a/tests/ocpp-server/README.md b/tests/ocpp-server/README.md index 815cd86e..ce6f31bc 100644 --- a/tests/ocpp-server/README.md +++ b/tests/ocpp-server/README.md @@ -18,6 +18,12 @@ To start the server, run the `server.py` script: poetry run task server ``` +Or + +```shell +poetry run python server.py +``` + The server will start listening for connections on port 9000. ## Running the server with OCPP command sending diff --git a/tests/ocpp-server/pyproject.toml b/tests/ocpp-server/pyproject.toml index 09971b90..87b61e61 100644 --- a/tests/ocpp-server/pyproject.toml +++ b/tests/ocpp-server/pyproject.toml @@ -15,7 +15,7 @@ taskipy = "^1" ruff = "^0.7" [tool.taskipy.tasks] -server = "python server.py" +server = "poetry run python server.py" format = "ruff format . && ruff check --fix ." lint = "ruff format --check --diff . && ruff check --diff ."