File tree Expand file tree Collapse file tree 4 files changed +547
-7
lines changed Expand file tree Collapse file tree 4 files changed +547
-7
lines changed Original file line number Diff line number Diff line change 2
2
.vscode
3
3
** /__pycache__
4
4
5
+ build /
6
+ * .egg-info /
7
+
5
8
logs /
6
9
scripts /
Original file line number Diff line number Diff line change 41
41
42
42
1 . 安装依赖
43
43
44
- 推荐使用[ start ] ( https://github.com/Dragon-GCS/start )
44
+ 推荐使用[ uv ] ( https://hellowac. github.io/uv-zh-cn/getting-started/installation/ )
45
45
46
46
``` bash
47
- start init # 创建虚拟环境(可选)
48
- start install
47
+ uv sync
49
48
```
50
49
51
50
或者使用` pip`
58
57
2. 启动服务
59
58
60
59
` ` ` bash
60
+ # use uv
61
+ uv run uvicorn main:app
62
+ # use python
63
+ source .venv/bin/activate # 如果有虚拟环境
61
64
uvicron main:app
62
65
` ` `
63
66
Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ Clone the repository
41
41
42
42
1 . Install dependencies
43
43
44
- Use [ start ] ( https://github.com/Dragon-GCS/start ) (Recommended )
44
+ Use [ uv ] ( https://hellowac. github.io/uv-zh-cn/getting-started/installation/ )
45
45
46
46
``` bash
47
- start init # Create virtual environment(Optional)
48
- start install
47
+ uv sync
49
48
```
50
49
51
50
Or use ` pip`
@@ -58,7 +57,11 @@ Clone the repository
58
57
2. Start the server
59
58
60
59
` ` ` bash
61
- uvicron main:app --port < port>
60
+ # use uv
61
+ uv run uvicorn main:app
62
+ # use python
63
+ source .venv/bin/activate # If have virtual environment
64
+ uvicron main:app
62
65
` ` `
63
66
64
67
# ## Docker
You can’t perform that action at this time.
0 commit comments