From caafeb370f5c0c8ed87734900d785bd9843a4f0a Mon Sep 17 00:00:00 2001 From: Ben Phillips Date: Mon, 15 Sep 2025 12:50:10 +0100 Subject: [PATCH] Add command line server startup instructions to the development docs (#2396) --- CLAUDE.md | 1 + DEVELOPMENT.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 96b3eacd..85e611ad 100644 --- 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` diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 858c47dd..ed6a5cf1 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -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. -- 2.34.1