diff --git a/README.md b/README.md index 15aa9c1..5fbd7c4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OE HTML viewer +# SportSoftware OE HTML viewer Simple Python script to serve the exported HTML results file from the SportSoftware OE application on the local network. @@ -14,8 +14,8 @@ Simple Python script to serve the exported HTML results file from the SportSoftw 1. Clone the repository: ```sh - git clone - cd + git clone https://gitea.carburator.dev/carburator/oe-html-viewer.git + cd oe-html-viewer ``` 2. Create a virtual environment: @@ -53,7 +53,7 @@ Simple Python script to serve the exported HTML results file from the SportSoftw The following variables can be found at the top of the `main.py` script: - `html_file_path`: Path to the HTML file to be served. -- `host`: Host address for the Flask application. Leave at `0.0.0.0` for avability at all network interfaces (localhost / LAN) +- `host`: Host address for the Flask application. Leave at `0.0.0.0` for availability at all network addresses (localhost / LAN) - `port`: Port number for the Flask application. - `is_oe11`: Boolean flag for encoding (True for OE11, False for OE12). - `scroll_pixels`: Number of pixels to scroll each interval. diff --git a/main.py b/main.py index fa2e652..2edc1b0 100644 --- a/main.py +++ b/main.py @@ -4,8 +4,8 @@ from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler # -------------- VARIABLES -------------- -html_file_path = r'C:\' -host = '0.0.0.0' # http://localhost OR http:// +html_file_path = r'PATH' +host = '0.0.0.0' port = 80 is_oe11 = True # if using OE11 set it to True, for OE12 set it to False (encoding) scroll_pixels = 100 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ebb874e Binary files /dev/null and b/requirements.txt differ