From 5052b539c1adc1bae9abe31e837cad265d49163f Mon Sep 17 00:00:00 2001 From: Wei Hong Date: Sun, 17 May 2026 14:52:34 +0800 Subject: [PATCH] Add venv to script. --- README.md | 3 ++- start.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc86154..f877a57 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,10 @@ git clone https://repo.weispace.net/wei/ServerWind.git git clone https://github.com/WeiDnite1222/ServerWind.git ``` -### Configure python version and install dependencies +### Configure virtual environment and install dependencies ``` +uv venv uv python pin 3.12.10 uv pip install -r requirements.txt ``` diff --git a/start.sh b/start.sh index 8043daa..2fe3874 100644 --- a/start.sh +++ b/start.sh @@ -1 +1,2 @@ +uv sync. uv run python main.py \ No newline at end of file