如果你有非常优秀的理解能力和前端开发的技术基础,你可以直接访问hexo的主页来进行任何操作,我所做的所有操作都是基于hexo官方提供的文件和自己的理解进行操作.

一、准备工作
1.了解Hexo
Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。当你需要安装hexo来创建你的个人博客时你必须先安装node.js软件和git两款软件.
node.js的下载网站:https://nodejs.org

git下载网站:https://git-scm.com/download/win(基于windows)

2.搭建博客运行环境
Node.js是一个Javascript运行环境(runtime environment),发布于2009年5月,由Ryan Dahl开发,实质是对Chrome V8引擎进行了封装。Node.js 不是一个 JavaScript 框架,不同于CakePHP、Django、Rails。Node.js 更不是浏览器端的库,不能与 jQuery、ExtJS 相提并论。Node.js 是一个让 JavaScript 运行在服务端的开发平台,它让 JavaScript 成为与PHP、Python、Perl、Ruby 等服务端语言平起平坐的脚本语言。所以我们用node.js来做我们博客的基础运行平台.
声明:安装过程均参考官网和网上教程,如有不详细或错误的地方尽请谅解.......
node.js安装教程(11.0.0版本)








刚刚安装完会弹出安装插件完成的窗口点击任意键就可以.安装完成之后,去运行里面检验自己安装的版本如何出现下图版本号说明安装完成

到这里node.js程序安装完成.
Git安装教程(2.19.1版本)













安装完成后在桌面单击鼠标右键可以看到两个新增加的选项

这样就说明Git已经安装完成.
现在还需要一个账号也就是GitHub的账号就完成所有的准备工作了.
Github网址:https://github.com
注意:注册时一定要选择一个比较好的用户名,以为后面创建仓库的时候默认仓库名字就是用户名




这样我们所有准备工作就做完了.
网友评论