初始化
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# 启动开发环境
|
||||
|
||||
echo "启动后端服务..."
|
||||
cd backend
|
||||
source venv/bin/activate 2>/dev/null || python -m venv venv && source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user