Add .env file support for UI client configuration

- Use python-dotenv to load environment variables
- Add CONTROL_SERVER_URI environment variable for WebSocket connection
- Create .env.example with configuration examples
- Update Pipfile to include python-dotenv dependency
- Allows easy configuration for running UI on desktop pointing to Pi
This commit is contained in:
Pi User
2025-10-03 20:08:36 +13:00
parent e4a83e8f0d
commit 0906cb22e6
3 changed files with 15 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ python-rtmidi = "*"
pyaudio = "*"
aubio = "*"
websocket-client = "*"
python-dotenv = "*"
[dev-packages]