Skip to content

Commit

Permalink
docs: fix windows local deploy bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
EstrellaXD committed Aug 24, 2023
1 parent e2a218b commit 56ed88a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { defineConfig } from "vitepress";
import { inject } from '@vercel/analytics';

inject();

const version = `v3.0`

Expand All @@ -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');"],
],
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 56ed88a

Please sign in to comment.