Add command line server startup instructions to the development docs (#2396)
authorBen Phillips <ben@thread.com>
Mon, 15 Sep 2025 11:50:10 +0000 (12:50 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 11:50:10 +0000 (13:50 +0200)
CLAUDE.md
DEVELOPMENT.md

index 96b3eacdd862ce81a41a964aefdf08f445330527..85e611ad460d68b80a389882ccc247c20a62edcb 100644 (file)
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -23,6 +23,7 @@ Always run `pre-commit run --all-files` after a code change to ensure the new co
 
 ### Running the Server
 - Use F5 in VS Code to start Music Assistant locally (debug mode)
+- Or run from command line: `python -m music_assistant --log-level debug`
 - Server runs on `localhost:8095`
 - Entry point: `music_assistant.__main__:main`
 
index 858c47ddbe5d53d57a6289e350515d9bf102b5b6..ed6a5cf1f594290d76033c9c793b74eee727b8f2 100644 (file)
@@ -17,7 +17,7 @@ With this repository cloned locally, execute the following commands in a termina
 * `scripts/setup.sh` (creates a new separate virtual environment to nicely separate the project dependencies)
 * The setup script will create a separate virtual environment (if needed), install all the project/test dependencies and configure pre-commit for linting and testing.
 * Make sure, that the python interpreter in VS Code is set to the newly generated venv.
-* Debug: Hit (Fn +) F5 to start Music Assistant locally
+* Debug: Hit (Fn +) F5 to start Music Assistant locally (VS Code), or run `python -m music_assistant --log-level debug` from the command line
 * The pre-compiled UI of Music Assistant will be available at `localhost:8095` ðŸŽ‰
 
 NOTE: Always re-run the setup script after you fetch the latest code because requirements could have changed.