环境搭建

1、node.js - 下载

  • 安装node.js
  • 官网下载:https://nodejs.org/en/download/
    (选择稳定版本)
  • 不断下一步…
    (傻瓜式安装)
  • 查看是否安装完成,并查看版本。
    博客搭建 - hexo + GitHub

2、GitHub - 注册/github.io

  • 注册一个GitHub账号。

  • 创建一个新的 Project
    博客搭建 - hexo + GitHub

  • Repository name 写成 “用户名.github.io

  • 新建页面,页面名 index.html
    博客搭建 - hexo + GitHub

  • 输入测试内容:<h1>Hello GitHub Pages</h1>
    博客搭建 - hexo + GitHub

  • 浏览页面 lawsssss.github.io
    博客搭建 - hexo + GitHub


3. git for win 安装

相关文章: