环境搭建
1、node.js - 下载
- 安装node.js
- 官网下载:https://nodejs.org/en/download/
(选择稳定版本) - 不断下一步…
(傻瓜式安装) - 查看是否安装完成,并查看版本。
2、GitHub - 注册/github.io
-
注册一个GitHub账号。
-
创建一个新的 Project
-
Repository name 写成 “用户名.github.io”
-
新建页面,页面名 index.html
-
输入测试内容:
<h1>Hello GitHub Pages</h1> -
浏览页面 lawsssss.github.io
3. git for win 安装
- 官网下载:https://git-scm.com/download
- 国内镜像:https://github.com/waylau/git-for-win
- 有个选项要改
- cmd 测试 安装结果
git --version