For AI agents: the complete documentation index is available at https://heyq02.com/llms.txt, the full documentation bundle is available at https://heyq02.com/llms-full.txt, and this page is available as Markdown at https://heyq02.com/blog/posts/fun-project-vitepress-blog.md.
跳到主要内容

趣味项目:VitePress 搭建个人博客

预计阅读时间: 小于 1 分钟

::: tip {title="项目链接"}

效果截图

项目介绍

前段时间买了服务器和域名,一直闲置着;这两天打算搭个个人网站。当时流行的有 Hexo、WordPress,但我更喜欢 VitePress 的样式,就改装成博客框架。

使用方式

  1. git 克隆项目
  2. 设置scp免密码传输,可以参考这个教程 linux无需输入密码完成scp复制
  3. 服务器安装nginx
  4. 将nginx资源目录和服务器ip替换掉脚本里面的
  5. 运行pnpm make

可修改项

  • 首页内容可以修改index.md
  • 添加博客需要同时修改blogs/index.md
  • 添加项目只需要修改projects/index.md

更新计划

  • 根据博客内容动态生成blogs/index.md