1
0
mirror of https://github.com/ZSCNetSupportDept/website.git synced 2025-10-28 00:45:03 +08:00
Files
website/README.md
2025-07-28 19:00:22 +08:00

30 lines
966 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# zsc网维开发组网站
这里是开发组的网站源代码仓库采用Docusaurus框架,欢迎issue和PR
目前网站主要托管新wiki和开发组文档还可以发布一些文章。如果想编写内容的话请联系开发组组长。
## 依赖
`nodejs >= 18.0`
## 构建
在终端输入以下命令:
``` shell
git clone https://github.com/ZSCNetSupportDept/website
cd website
npm install
npm run docusaurus build
```
然后在`build`文件夹下就出现了编译过后的结果,可以进行下一步的部署
如果你有直接push本仓库的权限你可以运行`npm run docusaurus deploy`自动构建并部署静态网站;在构建之后,还会自动将结果推送到仓库的`build`分支上,服务器部署了脚本自动抓取这个分支的内容来更新网站\
https://zscdev-demo.pages.dev 是本仓库的一个demo网站基于master构建而不是build
## 关于
任何问题,请联系开发组组长~^_^~