mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-02-09 13:26:11 +08:00
- Upgrade VitePress from 1.0.0-rc.4 to 1.6.4 (stable) - Update all dependencies (vue 3.5, typescript 5.6, @vue/tsconfig 0.5) - Remove defunct Documate AI integration and google-analytics plugin - Add Google Analytics via head config instead - Translate all 25+ documentation pages from Chinese to English - Add comprehensive REST API reference (docs/api/index.md) - Add v3.2 changelog to sidebar navigation (fixes dead link) - Update version string from v3.1 to v3.2 - Fix homepage changelog link to point to v3.2 - Update all WebUI screenshots with current v3.2 UI - Add new screenshots: calendar view, bangumi poster wall - Remove obsolete files: documate.json, deploy/windows.md, deploy/unix.md - Update CSS variables for VitePress 1.6.x compatibility 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>
60 lines
1.4 KiB
Markdown
60 lines
1.4 KiB
Markdown
# 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](https://github.com/EstrellaXD/Auto_Bangumi/issues).
|
|
:::
|
|
|
|
## Download the Latest Release
|
|
|
|
```bash
|
|
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.
|
|
|
|
```bash
|
|
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.
|
|
|
|
```bash
|
|
cd src
|
|
python3 -m venv env
|
|
python3 pip install -r requirements.txt
|
|
```
|
|
|
|
## Create Configuration and Data Directories
|
|
|
|
```bash
|
|
mkdir config
|
|
mkdir data
|
|
```
|
|
|
|
## Run AutoBangumi
|
|
|
|
```bash
|
|
python3 main.py
|
|
```
|
|
|
|
|
|
## Windows Auto-Start on Boot
|
|
|
|
You can use `nssm` for auto-start on boot. Example with `nssm`:
|
|
|
|
```powershell
|
|
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
|
|
```
|