mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-02-02 17:59:27 +08:00
- Configure VitePress locales with zh-CN as root and en-US as /en/ - Translate all documentation to Chinese (31 files) - Create English documentation under /en/ directory - Add Chinese UI labels for navigation and pagination - Language switcher now available in site header Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1.4 KiB
1.4 KiB
Local Deployment
::: warning Local deployment may cause unexpected issues. We strongly recommend using Docker instead.
This documentation may have update delays. If you have questions, please raise them in Issues. :::
Download the Latest Release
VERSION=$(curl -s "https://api.github.com/repos/EstrellaXD/Auto_Bangumi/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
curl -L -O "https://github.com/EstrellaXD/Auto_Bangumi/releases/download/$VERSION/app-v$VERSION.zip"
Extract the Archive
On Unix/WSL systems, use the following command. On Windows, extract manually.
unzip app-v$VERSION.zip -d AutoBangumi
cd AutoBangumi
Create Virtual Environment and Install Dependencies
Ensure you have Python 3.10+ and pip installed locally.
cd src
python3 -m venv env
python3 pip install -r requirements.txt
Create Configuration and Data Directories
mkdir config
mkdir data
Run AutoBangumi
python3 main.py
Windows Auto-Start on Boot
You can use nssm for auto-start on boot. Example with nssm:
nssm install AutoBangumi (Get-Command python).Source
nssm set AutoBangumi AppParameters (Get-Item .\main.py).FullName
nssm set AutoBangumi AppDirectory (Get-Item ..).FullName
nssm set AutoBangumi Start SERVICE_DELAYED_AUTO_START