Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档开发步骤 #4

Open
kevinten10 opened this issue Oct 14, 2021 · 1 comment
Open

文档开发步骤 #4

kevinten10 opened this issue Oct 14, 2021 · 1 comment

Comments

@kevinten10
Copy link
Member

kevinten10 commented Oct 14, 2021

环境搭建

1. clone代码

2. 执行初始化命令

git submodule update --init --recursive

npm install -D --save autoprefixer
npm install -D --save postcss-cli

3. 启动

hugo server

文档开发

1. 在指定目录下编辑markdown文件

2. 使用hugo server在本地启动hugo

3. 检查文档是否正确

4. 使用hugo生成docs目录文件

5. push到github上

6. 访问blog

@Huijing-Xu
Copy link
Contributor

文档开发
2. 使用hugo server在本地启动hugo
在浏览器中,本地链接:http://localhost:1313/capa.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants