website:个人网站资源

时间:2021-04-05 20:24:19
【文件属性】:
文件名称:website:个人网站资源
文件大小:2.28MB
文件格式:ZIP
更新时间:2021-04-05 20:24:19
HTML 个人网站资源 这是我的个人网站,使用。 它包含我想扔在那里的任何东西。 安装 用git混合后,运行pip install -r requirements.txt (最好在虚拟环境中)以安装mkdocs和所有其他依赖项。 与mkdocs serve一起在本地mkdocs serve 。 每次提交后使用rsync进行部署 在./git/hooks/post-commit创建以下钩子: #! /bin/bash -xe mkdocs build --quiet --clean rsync --archive --compress --partial --delete \ site/ user@hostname:/path/to/site/ 不要忘记运行chmod +x ./.git/hooks/post-commit 。
【文件预览】:
website-master
----.gitignore(15B)
----requirements.txt(291B)
----src()
--------index.md(4KB)
--------personal-server.md(15KB)
--------arch-setup.md(23KB)
--------img()
----LICENSE(1KB)
----README.md(649B)
----theme()
--------main.html(2KB)
--------404.html(408B)
----mkdocs.yml(494B)

网友评论