From 2e5e362000d295b0c23b90da5f5fbb9ff2729f11 Mon Sep 17 00:00:00 2001 From: Yaosanqi137 Date: Sat, 20 Sep 2025 21:46:55 +0800 Subject: [PATCH] docs: update README.md --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29219f1..24aa3a0 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,29 @@ ![ITSTUDIO](it-org.svg) +注:以下安装教程使用环境均为 Debian12 *(应该也不会有人用 Windows 部署这个吧)* + +# 需要准备的软件包 + +使用系统的包管理器安装(如 apt, yum 等) + +- git +- nodejs +- python3 +- wget + # 前端 前端使用 Vue 框架开发,使用方法如下 ## 安装 + +pnpm 包管理器安装: + +``` +wget -qO- https://get.pnpm.io/install.sh | sh - +``` + ``` pnpm install ``` @@ -31,5 +49,7 @@ pnpm run build 若 venv 环境创建失败,请手动输入 ```shell -apt install python3-venv -``` \ No newline at end of file +apt install python3.x-venv # 其实就是安装 venv 包,x 是你的 python3 的小版本号 +``` + +并且注意,在第一次启动前,需要在 `src/backend/item_manager` 中手动创建 secure.json 并将 `SECRET_KEY` 和 `SMTP` 填入,否则无法启动 \ No newline at end of file