mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-05-11 18:45:58 +08:00
docs: fix windows local deploy bug.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import { defineConfig } from "vitepress";
|
||||
import { inject } from '@vercel/analytics';
|
||||
|
||||
inject();
|
||||
|
||||
const version = `v3.0`
|
||||
|
||||
@@ -16,7 +13,6 @@ export default defineConfig({
|
||||
['meta', { property: 'og:image', content: '/social.png' }],
|
||||
['meta', { property: 'og:site_name', content: 'AutoBangumi' }],
|
||||
['meta', { property: 'og:url', content: 'https://www.autobangumi.org' }],
|
||||
["script", { src: '/_vercel/insights/script.js' }],
|
||||
["script", { src: 'https://www.googletagmanager.com/gtag/js?id=G-3Z8W6WMN7J' }],
|
||||
["script", {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-3Z8W6WMN7J');"],
|
||||
],
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 创建版本信息文件:
|
||||
|
||||
```powershell
|
||||
echo "VERSION='local'" > backend\src\__version__.py
|
||||
echo "VERSION='local'" > backend\src\module\__version__.py
|
||||
```
|
||||
|
||||
3. 新建 `python` 虚拟环境、激活并安装依赖(需保证 `python -V` 打印的版本符合 `Dockerfile` 中的要求,如 `FROM python:3.11-alpine AS APP`)
|
||||
|
||||
Reference in New Issue
Block a user