Fix port in README

This commit is contained in:
Dominik Moritz Roth 2024-10-02 22:36:54 +02:00
parent f6598c908c
commit b0a2ac7574

View File

@ -28,7 +28,7 @@ Here's a basic example of how to use NuCon:
from nucon import Nucon, BreakerStatus
# Set the base URL for the game's API (if different from default)
Nucon.set_base_url("http://localhost:8080/")
Nucon.set_base_url("http://localhost:8785/")
# Enable dummy mode for testing (optional)
Nucon.set_dummy_mode(True)
@ -134,7 +134,7 @@ NuCon includes a test suite to verify its functionality and compatibility with t
To run the tests:
1. Ensure the Nucleares game is running and accessible at http://localhost:8080/ (or update the URL in the test setup).
1. Ensure the Nucleares game is running and accessible at http://localhost:8785/ (or update the URL in the test setup).
2. Install pytest: `pip install pytest`
3. Run the tests: `pytest test/test.py`