GitHub与Hexo搭建个人博客

GitHub与Hexo搭建个人博客


安装node.js

​ 自己百度

安装Git

​ 自己百度

创建GitHub仓库

image-20200401182529395

安装hexo

​ npm install -g hexo-cli

image-20200401182811385

新建文件夹

image-20200401182931213

初始化文件夹

​ hexo init

image-20200401183036822

image-20200401183048133

安装依赖包

​ hexo install

image-20200401183123452

安装hexo-deployer-git

​ npm install hexo-deployer-git --save

image-20200401183258670

_config.yml 文件中配置如下

image-20200401183443528

image-20200401183545627

image-20200401183616040

把项目部署到github中的lsqstudy.github.io项目中去

​ hexo g -d

image-20200401183710842

image-20200401183719690

image-20200401183728653

image-20200401183738377

个人博客搭建完成,访问

image-20200401183846361

posted @ 2020-04-01 18:55  卖剩鸭  阅读(77)  评论(0)    收藏  举报