chore: 将项目名称统一为 yield-smart-app
- 更新 pyproject.toml 中的包名 - 同步 uv.lock 中的包名 - 更新 README.md 中的项目目录和 Docker 镜像名称 - 更新 justfile 和 main.py 中的引用名称
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# YieldSmart 农业智能决策系统
|
# yield-smart-app 农业智能决策系统
|
||||||
|
|
||||||
基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用。
|
基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用。
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ streamlit run app.py
|
|||||||
## 项目结构
|
## 项目结构
|
||||||
|
|
||||||
```
|
```
|
||||||
YieldSmart/
|
yield-smart-app/
|
||||||
├── app.py # 主应用文件(Streamlit)
|
├── app.py # 主应用文件(Streamlit)
|
||||||
├── main.py # 入口文件
|
├── main.py # 入口文件
|
||||||
├── pyproject.toml # 项目配置
|
├── pyproject.toml # 项目配置
|
||||||
@@ -78,10 +78,10 @@ just check
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 构建镜像
|
# 构建镜像
|
||||||
docker build -t yieldsmart .
|
docker build -t yield-smart-app .
|
||||||
|
|
||||||
# 运行容器
|
# 运行容器
|
||||||
docker run -p 8000:8000 yieldsmart
|
docker run -p 8000:8000 yield-smart-app
|
||||||
```
|
```
|
||||||
|
|
||||||
## 许可证
|
## 许可证
|
||||||
|
|||||||
2
justfile
2
justfile
@@ -1,4 +1,4 @@
|
|||||||
# Justfile for YieldSmart 农业智能决策系统
|
# Justfile for yield-smart-app 农业智能决策系统
|
||||||
# Use `just <command>` to run tasks
|
# Use `just <command>` to run tasks
|
||||||
|
|
||||||
# Default task: show available commands
|
# Default task: show available commands
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -1,5 +1,5 @@
|
|||||||
def main():
|
def main():
|
||||||
print("Hello from YieldSmart!")
|
print("Hello from yield-smart-app!")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "yield-smart"
|
name = "yield-smart-app"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "农业智能决策系统 - 基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用"
|
description = "农业智能决策系统 - 基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
Reference in New Issue
Block a user