fix: Change dashboard port from 5000 to 8080 to avoid Siemens conflict

- Update Flask server to run on port 8080 instead of 5000
- Update frontend API_BASE URL to http://localhost:8080/api
- Update launcher script to open browser at port 8080
- Update README documentation with new port number

This resolves the port conflict with Siemens documentation server.
This commit is contained in:
2025-11-15 13:41:21 -05:00
parent 1dab9d638d
commit c1fad3bd37
4 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ python api/app.py
3. Open your browser to:
```
http://localhost:5000
http://localhost:8080
```
## Quick Start
@@ -58,7 +58,7 @@ cd dashboard
python api/app.py
```
The dashboard will automatically open in your default browser at `http://localhost:5000`
The dashboard will automatically open in your default browser at `http://localhost:8080`
## Usage

View File

@@ -457,7 +457,7 @@ if __name__ == '__main__':
print("="*60)
print("ATOMIZER DASHBOARD API")
print("="*60)
print("Starting Flask server on http://localhost:5000")
print("Access the dashboard at: http://localhost:5000")
print("Starting Flask server on http://localhost:8080")
print("Access the dashboard at: http://localhost:8080")
print("="*60)
app.run(debug=True, host='0.0.0.0', port=5000, threaded=True)
app.run(debug=True, host='0.0.0.0', port=8080, threaded=True)

View File

@@ -1,6 +1,6 @@
// Atomizer Dashboard - Frontend JavaScript
const API_BASE = 'http://localhost:5000/api';
const API_BASE = 'http://localhost:8080/api';
let currentStudy = null;
let charts = {
progress: null,

View File

@@ -18,7 +18,7 @@ def main():
print("ATOMIZER DASHBOARD LAUNCHER")
print("="*60)
print(f"\nStarting dashboard server...")
print(f"Dashboard will open at: http://localhost:5000")
print(f"Dashboard will open at: http://localhost:8080")
print("\nPress Ctrl+C to stop the server")
print("="*60)
@@ -28,7 +28,7 @@ def main():
# Open browser after a short delay
def open_browser():
time.sleep(3) # Wait for server to start
webbrowser.open('http://localhost:5000')
webbrowser.open('http://localhost:8080')
import threading
browser_thread = threading.Thread(target=open_browser, daemon=True)