从0搭建Hexo和Cloudflare Pages个人博客
从零搭建Hexo+Cloudflare Pages的个人博客一、准备工作:安装基础环境1. 安装Node.js 和 Git 及 VS Code 并且检查是否安装成功 因为Hexo基于Node.js,部署需要Git Node.js: (https://nodejs.cn/en/download) Git : (https://git-scm.com/install/windows) 其他工具:VS Code :(https://code.visualstudio.com/) (后续配置使用方便) 检查:按键盘上的win+r后输入cmd,回车. 输入node -v 和 npm -v 和 git -v,如安装成功则会显示版本 2.安装Hexo a.打开Hexo 文档: (https://hexo.io/zh-cn/docs/) b.按照它的教程安装Hexo 注:如果输入 npm install -g hexo-cli 无反应后可以选择换源,并将npm改为cnpm 二、VS Code操作 1.新建一个文件夹用于保存网站代码并用 VS Code 打开,新建终端并...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment