fix: fix server task
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 21 Oct 2024 15:52:21 +0000 (17:52 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 21 Oct 2024 15:52:21 +0000 (17:52 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
tests/ocpp-server/README.md
tests/ocpp-server/pyproject.toml

index 815cd86e9bbd420556886b9c1e08b37dc3614046..ce6f31bc780be8382ad05a515a66ce99bf72b2a9 100644 (file)
@@ -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
index 09971b90259f622937b90d76b25c9b71de83b099..87b61e61de2e901d428e21ad7e7f9e4162d7ad92 100644 (file)
@@ -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 ."