Files
Auto_Bangumi/docs/deploy/unix.md
2023-07-07 12:19:18 +08:00

689 B

如何在本地运行 AutoBangumi

克隆项目

git clone https://github.com/EstrellaXD/Auto_Bangumi.git

安装依赖

确认你的电脑本地已经安装了 python3.10 以上的版本,以及 pip 包管理工具。

python3 pip install -r requirements.txt

进入源代码目录并且创建版本信息

cd backend/src

echo "VERSION = 'local'" > module/__version__.py

下载 WebUI

wget https://github.com/Rewrite0/Auto_Bangumi_WebUI/releases/download/latest/dist.zip

unzip dist.zip

mv dist templates

创建配置文件夹以及数据文件夹并运行

mkdir "config"
mkdir "data"

python3 main.py