Skip to content

HughChi/hughchi.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugh's Blog

搭建指南

是否安装了git?

git --version

是否安装了node.js?

node -v

安装Hexo

$ npm install hexo-cli -g 
$ hexo init blog
$ cd blog
$ hexo server

修改站点配置文件

对应的目录 :blog/_config.yml

deploy:
  type: git 
  repo: [email protected]:username.github.io.git
  branch: master

修改网站主题

$ cd themes
$ git clone https://github.com/iissnan/hexo-theme-next next

提交仓库

$ npm install hexo-deployer-git --save
$ hexo g
$ hexo d

Releases

No releases published

Packages

No packages published