diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eeceb58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# ===== Python ===== +__pycache__/ +*.py[cod] +*$py.class +*.so +*.egg-info/ +dist/ +build/ +*.egg +.eggs/ +venv/ +.venv/ +env/ + +# ===== 环境变量(含密钥) ===== +.env +*.env.local + +# ===== IDE ===== +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# ===== OS ===== +.DS_Store +Thumbs.db + +# ===== Node / Frontend ===== +node_modules/ +frontend/dist/ +frontend/src-tauri/target/ + +# ===== Docker ===== +docker-compose.override.yml + +# ===== Misc ===== +*.log +*.tmp diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 35410ca..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/backend/.env b/backend/.env deleted file mode 100644 index 60ccbc7..0000000 --- a/backend/.env +++ /dev/null @@ -1,13 +0,0 @@ -# ============================================================ -# 生产流转管理系统 — 后端环境变量 -# 测试环境局域网 IP: 192.168.9.80 -# 数据库: PostgreSQL 15 + pgvector (独立容器, 端口 5433) -# ============================================================ - -DATABASE_URL=postgresql+asyncpg://track:track_prod_2026@localhost:5433/track_production -SECRET_KEY=change-me-to-a-random-secret-key-in-production -ACCESS_TOKEN_EXPIRE_MINUTES=30 -DEBUG=true - -# 跨域白名单(JSON 数组格式,供 pydantic 解析) -CORS_ORIGINS='["http://localhost:1420", "tauri://localhost", "http://192.168.9.80:1420", "http://192.168.9.80"]' diff --git a/backend/app/__pycache__/__init__.cpython-313.pyc b/backend/app/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 4f394d0..0000000 Binary files a/backend/app/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/backend/app/core/__pycache__/__init__.cpython-313.pyc b/backend/app/core/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 2f6c4ca..0000000 Binary files a/backend/app/core/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/backend/app/core/__pycache__/config.cpython-313.pyc b/backend/app/core/__pycache__/config.cpython-313.pyc deleted file mode 100644 index dbd63e9..0000000 Binary files a/backend/app/core/__pycache__/config.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/__init__.cpython-313.pyc b/backend/app/models/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index f5580e9..0000000 Binary files a/backend/app/models/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/base.cpython-313.pyc b/backend/app/models/__pycache__/base.cpython-313.pyc deleted file mode 100644 index 6637906..0000000 Binary files a/backend/app/models/__pycache__/base.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/product.cpython-313.pyc b/backend/app/models/__pycache__/product.cpython-313.pyc deleted file mode 100644 index 34f8e89..0000000 Binary files a/backend/app/models/__pycache__/product.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/production_order.cpython-313.pyc b/backend/app/models/__pycache__/production_order.cpython-313.pyc deleted file mode 100644 index 71a4b81..0000000 Binary files a/backend/app/models/__pycache__/production_order.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/task.cpython-313.pyc b/backend/app/models/__pycache__/task.cpython-313.pyc deleted file mode 100644 index 7294202..0000000 Binary files a/backend/app/models/__pycache__/task.cpython-313.pyc and /dev/null differ diff --git a/backend/app/models/__pycache__/task_log.cpython-313.pyc b/backend/app/models/__pycache__/task_log.cpython-313.pyc deleted file mode 100644 index 3795b59..0000000 Binary files a/backend/app/models/__pycache__/task_log.cpython-313.pyc and /dev/null differ diff --git a/frontend/.env b/frontend/.env deleted file mode 100644 index 02b2a42..0000000 --- a/frontend/.env +++ /dev/null @@ -1 +0,0 @@ -VITE_API_BASE_URL=http://192.168.9.80:8000