Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions command-center/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ This is a textual TUI panel for the controller server.

## Usage

Run
Run the following command to open command center in terminal.

```sh
uv run textual run src.__main__:app
```
uv run textual run src.__main__:LightDanceApp

In order to open command center in browser, run

```sh
uv run server.py
```

## Configuration

You can change data such as serial port or music file path in `src/config.py`. Alternatively, you can also connect to other serial port or other music after opening command center UI.
You can change data such as serial port or music file path in `src/config.py`. Alternatively, you can also connect to other serial port or other music after opening command center UI.
2 changes: 1 addition & 1 deletion command-center/server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from textual_serve.server import Server

server = Server("python -m src", host="192.168.0.140")
server = Server("uv run -m src", host="0.0.0.0", port=5678)

server.serve(debug=True)
Loading