added requirements.txt, fix typo

This commit is contained in:
2025-03-30 20:05:56 +02:00
parent 6e0a8ea40c
commit 6493f8ed06
3 changed files with 6 additions and 6 deletions

View File

@@ -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 <repository_url>
cd <repository_name>
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.

View File

@@ -4,8 +4,8 @@ from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
# -------------- VARIABLES --------------
html_file_path = r'C:\<PATH>'
host = '0.0.0.0' # http://localhost OR http://<ip_address>
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

BIN
requirements.txt Normal file

Binary file not shown.