From 63bdd06f6a605d56e31dfc2787b259d190dea56c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 21 Oct 2024 17:52:21 +0200 Subject: [PATCH] fix: fix server task MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/ocpp-server/README.md | 6 ++++++ tests/ocpp-server/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 ." -- 2.34.1